Skip to main content
Renames a custom role or changes its description. Only the fields you send change; null is rejected. Built-in roles cannot be changed (409). To change what a role grants, use permission rules.
Permission required: policy:custom_role_manage

Path Parameters

string
required
Key of a custom role

Headers

string
Optional. Retrying with the same value replays the first result.

Request Body

string
New description; "" clears it
string
New display name

Response

object

Errors

Errors answer with success: false, a message and an error_code. See Error Codes for every code.