๐๏ธ Get groups for a person
Retrieve the list of groups the specified person belongs to
๐๏ธ Set the groups for a person
Add the person to the groups specified in the request body, and remove the person from any other existing groups. All groups in the request body must already exist. Duplicate groups in the request body will be ignored. If an empty list is supplied in the request body, the person will be removed from all groups they are currently a member of, and will not be added to any others. New groups can be created with the [POST /groups](/docs/api/post-groups) endpoint.
๐๏ธ Get a list of groups
List the names of all groups that exist for your organization
๐๏ธ Create a group
This endpoint creates a new persons group with the given name. If the group exists already, no action will be taken. The group name must be unique within your organization; is case-sensitive; and must conform to the following: - must be at least 2 characters long - may be at most 100 characters long - may contain only the characters `A-Z a-z 0-9 - _ .` - must start and end with an alphanumeric character (`A-Z a-z 0-9`) A person can be added to a group through the [`POST /persons/:person_id/groups`](/docs/api/put-persons-person-id-groups) endpoint.
๐๏ธ Get a group
Get the named group
๐๏ธ Delete a group
Remove all persons from a group and permanently delete the group.
๐๏ธ List the persons in a group
Lists all the persons in the named group. Returns an array of person IDs.
๐๏ธ Add persons to a group
This endpoint adds one or more persons to an existing group. The group and all of the persons must exist. The persons to be added to the group must always be an array in the request body, even if only one user is being added. All persons needs to be in the same region. A new group can be created with the [POST /groups](/docs/api/post-groups) endpoint.
๐๏ธ Delete a person from a group
Removes the identified person from the named group. Returns an error if the person is not in the group.