Add group permissions
Use POST /v2/accounts/{account-uuid}/groups/{group-uuid}/permissions
to add permissions to a user group.
Endpoint
/v2/accounts/{account-uuid}/groups/{group-uuid}/permissions
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
account-uuid | string | - | path | required |
group-uuid | string | - | path | required |
body | Rest | - | body | optional |
Request body objects
The RequestBody
object
The object doesn't provide any parameters.
The RestPermissionWithScopeForm
object
Element | Type | Description | Required |
---|---|---|---|
permissionName | string | - | optional |
scope | string | - | optional |
scopeType | string | - | optional |
Request body JSON model
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
[
{
"permissionName": "string",
"scope": "string",
"scopeType": "string"
}
]
Response
Response codes
Code | Type | Description |
---|---|---|
204 | Permissions modified successfully | |
400 | ExceptionMessage | Invalid permission or account or group name parameter |
404 | ExceptionMessage | Permission to be removed from group of account can not be found |