GuidesRecipesAPI Reference
Log In
API Reference

Assign permissions to a role

Adds the supplied permission keys to the role. Idempotent: keys already
enabled on the role are left unchanged. A dependent permission cannot
be added unless its parent is already enabled or included in the same
request.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

role ID.

Body Params

The permission keys to apply to a role.

permission_keys
array of strings
required

Permission keys. On POST they are added to the role, on DELETE they are removed, and on PUT they replace the role's entire permission set.

permission_keys*
Headers
string

Specify API version, for example '1.0'. By default, the version configured in the company settings is used.

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json