Update a single custom role. Updating a custom role uses a JSON patch or JSON merge patch representation of the desired changes. To learn more, read Updates.
To add an element to the policy
array, set the path
to /policy
and then append /<array index>
. Use /0
to add to the beginning of the array. Use /-
to add to the end of the array.
The custom role key
A JSON patch representation of the change to make
Optional comment
Custom role response
The ID of the custom role
The location and content type of related resources
The key of the custom role
The name of the custom role
An array of the policies that comprise this custom role
Details on the allowed and denied actions for this custom role
The description of the custom role
Base permissions to use for this role. Only applicable to roles created prior to October 2024.
The category of resources this role is intended to manage. Can be organization, project, or any. Once set, this field cannot be changed.
The number of teams and members this role is assigned to