POST /_system/usergroups/{guid}/users/add
Add a user to a user group
Add a user to a user group
URI Params
| Key | Type | Example | Description |
|---|
| guidrequired | string | | |
Request Headers
Request Body
| Key | Type | Example | Description |
|---|
| user_guidrequired | string | | |
Request Reply: Error
{
"code": 401,
"error": "INVALID_ACCESS_TOKEN"
}
Error Details
| Status | Error Code | Description |
|---|
401 | INVALID_ACCESS_TOKEN | Authentication required or invalid token |
Required Permissions
| Permission | Description |
|---|
Bearer token | Access token required via Authorization header, x-authtoken, x-token, query param, or cookie |
usergroups_create | Required scope: usergroups_create |
Back to User Groups Return to the User Groups category to view other endpoints All API Categories Browse all available API categories