Skip to navigation

Update role

Update an existing role's properties and permissions.

Path parameters

role_idstringRequiredformat: "uuid"
The UUID of the role to update

Headers

licenseKeystringRequired
appSecretstringRequired

Request

This endpoint expects an object.
namestring or nullOptional2-100 characters
Updated name of the role
descriptionstring or nullOptional<=500 characters
Updated description of the role
is_defaultboolean or nullOptional

Whether this is a system role (True) or custom role (False)

permission_idslist of strings or nullOptional
List of permission IDs to assign to this role

Response

OK
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