Add Permission to Permissions of a Role
Request
POST <REST API URL>/roles/{role id}/permissions?fields=string
Parameter | Description |
---|---|
fields | Optional query parameter. Specifies a subset of the fields to be returned. Use Fields Syntax to define subset. |
Request Body
permission
{ "id": string, "aliasIds": [string, ...], "aliases": [alias, ...], "key": string, "name": string, "service": service, "description": string, "global": boolean, "entityType": string, "operation": string }
Response
Response body
permission
{ "id": string, "aliasIds": [string, ...], "aliases": [alias, ...], "key": string, "name": string, "service": service, "description": string, "global": boolean, "entityType": string, "operation": string }
Last modified: 19 July 2017