Update group permissions
Use PUT /v2/accounts/{account-uuid}/groups/{group-uuid}/permissions
to update permissions of 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 RestPermissionWithScopeForm
object
Element | Type | Description |
---|---|---|
permissionName | string | - Can be |
scope | string | - Can be |
scopeType | string | - Can be |
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 |
---|---|---|
200 | integer | Permissions set successfully |
400 | Exception | Invalid permission or account or group name parameter |
404 | Exception | Permission to be removed from group of account can not be found |