Create a group
Creates a new group.
Requires the GROUPMANAGEMENT security role.
Body
application/json
Body
Optional description of the group.
Name of the group. Must be unique within the account. Must be a string (numbers are not coerced).
Response
application/json
Response
Group created successfully.
Group
Number of members in the group.
Authentication
Body
Delete a group
Deletes a group and removes all its members from it.
Requires the GROUPMANAGEMENT security role.
Path Parameters
ID of the group to delete (hyphens optional).
Response
Response
Group deleted successfully. No content is returned.
Authentication
Path Parameters
Get group by ID
Returns a single group by its ID, including member count.
Requires the GROUPMANAGEMENT security role.
Path Parameters
ID of the group (hyphens optional).
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.