Put Update a Role

Used to replace existing permissions in a role to a new set of permissions, and also update name/key of the role

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

PUT Update replaces existing permissions in a role, and adds the set of all supplied permissions to the role.

📘

Permission ids, keys and a role template key can be passed in the request body to create a role. A union set of the permissions represented by these keys, including permissions in the role template, are added to the new role.

📘

Producer Access Token Authentication is required to access this resource.

Path Params
string
required

id of the role to be updated

Body Params
string

updated name for the role

string

new key for the role

permission_ids
array of strings

permissions_ids to be added

permission_ids
permission_keys
array of strings

permission_keys to be added

permission_keys
string

key of the role template, permissions of which need to be added to the role

string

id of the role template, permissions of which need to be added to the role

Responses

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