Skip to navigation

Create role

Create a role with associated permissions.

Headers

licenseKeystringRequired
appSecretstringRequired

Request

This endpoint expects an object.
namestringRequired2-100 characters
Name of the role
permission_idslist of stringsRequired
List of permission IDs to assign to this role
descriptionstring or nullOptional<=500 characters
Description of the role

Response

Created
messagestring
Response message describing the operation result
statusstring

Response status (success or error)

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error