ID of the group (hyphens optional).
Get group by ID
Returns a single group by its ID, including member count.
Requires the GROUPMANAGEMENT security role.
Path Parameters
Response
application/json
Response
Successful response
Group
Number of members in the group.
Authentication
Path Parameters
Update a group
Updates the name and/or description of an existing group.
At least one field must be provided. Only the fields included in the request body are updated
(partial update semantics).
Requires the GROUPMANAGEMENT security role.
Path Parameters
ID of the group to update (hyphens optional).
Body
application/json
Body
New description for the group. Pass null to clear it.
New name for the group. Must be unique within the account.
Response
application/json
Response
Group updated successfully.
Group
Number of members in the group.
Authentication
Path Parameters
Body
Add users to a group
Adds one or more users to the specified group. Pass a single-element array to add one user.
Users that are already members of the group are silently ignored (the operation is idempotent).
An empty user_ids array is accepted and is a no-op.
Requires the GROUPMANAGEMENT security role.
Path Parameters
ID of the group (hyphens optional).
Body
application/json
Body
GroupMembersInput
IDs of the users to add or remove. An empty list is a no-op.
Response
application/json
Response
Users added successfully.
GroupMembersResult
Updated number of members in the group after the operation.
Authentication
Path Parameters
Body
Remove users from a group
Removes one or more users from the specified group. Pass a single-element array to remove one user.
Users not currently in the group are silently ignored (the operation is idempotent).
An empty user_ids array is accepted and is a no-op.
Requires the GROUPMANAGEMENT security role.
Path Parameters
ID of the group (hyphens optional).
Body
application/json
Body
GroupMembersInput
IDs of the users to add or remove. An empty list is a no-op.
Response
application/json
Response
Users removed successfully.
GroupMembersResult
Updated number of members in the group after the operation.