Create a Role

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

Producer Access Token Authentication is required to access this resource.

📘

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.

Body Params
string
required

key of the role to be created

string
required

name of the role to be created

string

key of the role template to add permissions from.

permission_ids
array of strings

Array of permission_ids to add to the role

permission_ids
permission_keys
array of strings

Array of permission_keys to add to the role

permission_keys
Responses

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