Skip to main content
Update a group

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the group to update.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"d0a72e51-728e-4a1d-9a5c-13796122b6f8"

Body

application/json
version
integer
required

Version of the group the change is based on, as returned when the group was read. A stale value is rejected instead of overwriting a concurrent change.

Required range: x > 0
acl
(string | null)[] | null

Names of the ACLs the group should carry from now on, replacing the ones stored. Their rights are what the group grants to its members, so an empty array or null leaves the members with nothing from this group. An organization administrator may add only ACLs their organization is entitled to - those of its edition, add-ons granted to it and feature ACLs - and cannot change the ACLs of the organization itself or of its role groups.

Example:

"business_user"

description
string | null

Free-text note on what the group is for. It is shown next to the group in administration lists and is searchable, but it is not the group's name - that is displayName.

Example:

"Users with administrative rights for the organization"

displayName
object[]

Localized names of the group, one entry per language, replacing the ones stored. A group provisioned through SCIM refuses a change here.

edition
enum<string> | null

Edition the organization runs on. It decides which ACLs the organization's role groups carry, so changing it re-synchronizes them and their members gain and lose rights accordingly. On a group of type organization the value cannot be cleared - omit it to keep the stored one. An organization administrator cannot change it.

Available options:
null,
pro,
business,
start
subscription
string | null

Identifier of the subscription assigned to the group. It can be set while none is assigned and cannot be swapped for another one afterwards; assigning one to an organization requires the subscription to exist and to be active. An organization administrator cannot change it, the stored value is kept.

Example:

"a1a72e58-ef8e-0b1d-9d5c-05596122bf13"

type

Extra roles the group plays besides granting its ACLs: settings makes it a carrier of shared configuration for its members, visibility makes it a group content can be made visible to. An organization and its role groups keep the types they were created with whatever is sent here, and so does every group updated by an organization administrator.

Available options:
organization,
settings,
visibility,
role,
feature
Example:
usersToBeAdded
string[]

Usernames to add to the group. Each one has to belong to an account that exists and is active, and a user the change gives a seat in an organization needs a free one there - otherwise the whole call is rejected.

Minimum string length: 1
Pattern: ^[A-Za-z0-9.@_+-]+$
usersToBeRemoved
string[]

Usernames to remove from the group. An organization administrator may not remove anyone from the organization group itself, which would take the user out of the organization.

Minimum string length: 1
Pattern: ^[A-Za-z0-9.@_+-]+$

Response

Returns the identifier and the new version of the group.

id
string

Value the request produced: the identifier of the object it created or acted upon, or - on the endpoints that issue one - the token it granted.

Example:

"e58cc1acbba3cd8056ce6adb44d46a11a113170e884509c179701270b915b59b"

version
integer

Current version of the record. Send it back with the next update so a concurrent change is not overwritten silently.

Example:

3