🟢POST groups/users
Add a user to an organisation group.
URL
POST https://training.tapintosafety.com.au/api/v2/groups/{Group Id}/users
Parameters
URL Parameters
Name
Description
Group Id
*
The Id of the group to add the given user to. Formatted as a GUID. A list of groups can be found using GET groups.
* required
Body Parameters
Name
Type
Description
userId
*
string
The Id of the user to add to the group. Formatted as a GUID.
* required
Responses
204 - OK
No response body.
400 - Bad Request
Error Code: INVALID_MODEL
userId
has not been specified.
400 - Bad Request
Error Code: NO_GROUPS_AVAILABLE
Your organisation has not created any groups to add users to.
400 - Bad Request
Error Code: GROUP_NOT_FOUND
A group could not be found with the specified Group Id
.
400 - Bad Request
Error Code: USER_NOT_FOUND
A user could not be found with the specified userId
.
Last updated