Groups

List the groups the user belongs to

get

List the groups the user belongs to

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired

The ID of the user

Responses
200

successful operation

application/json
get
/users/{userId}/groups

Add the user to a group

put

Add the user to a group

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired

The ID of the user

groupIdstringRequired

The ID of the group

Responses
200

successful operation

application/json
Responseobject
put
/users/{userId}/groups/{groupId}

Remove the user from the group

delete

Remove the user from the group

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired

The ID of the user

groupIdstringRequired

The ID of the group

Responses
200

successful operation

application/json
Responseobject
delete
/users/{userId}/groups/{groupId}