Users
Add normal user to group(s)
Adds User to groups
Endpoint for associating a normal user to groups. Please note the exemplary request body associates a user with two groups.
post/users/{user_id}/relationships/user-groups
Request
- Base URLhttps://api.kontainer.com/jsonapi/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
ID of User
Request body
Example request
{
"data": [
{
"type": "user_group",
"id": "23232"
},
{
"type": "user_group",
"id": "39239"
}
]
}Response
No content
Changes
No recorded changes to this operation across all 1 revision of this API.