Groups (Preferred)
List groups
Returns a paginated list of groups with member count.
Requires the GROUPMANAGEMENT security role.
Query Parameters
Filter groups by matching name.
Filter by specific group IDs (hyphens in the UUIDs are optional).
Sort field and direction. Prefix with - for descending order (e.g. -name).
Allowed values:namedescription-name-description
Default:name
Page number (1-based).
Default:1
>= 1
Number of results per page.
Default:20
>= 1<= 1000
Response
application/json
Response
Successful response
Example:{"description":"Everyone in the marketing department","id":"0397e4bd-33fe-4b8f-a51d-4c2f1d9b6c1a","name":"Marketing","user_count":12}
Show Child Parameters
Show Child Parameters
Authentication
UnauthenticatedQuery Parameters
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
UnauthenticatedBody
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
UnauthenticatedPath 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.