Change one of your own roles

Needs permission role:write.

A JSON Merge Patch (RFC 7396): leave a field out to keep it, send null to clear the description. permissions replaces the whole list. Everyone who holds the role has the change at once. Nobody can build or change a role to include more than they hold themselves, and changing roles needs permission to manage roles (403 role_management_denied, role_change_denied). The default role can never include managing people, roles, API tokens or the account (403 default_role_denied). Built-in roles cannot be changed (400 built_in_role_read_only). 409 concurrent_change when somebody else saved first.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

A JSON Merge Patch (RFC 7396) of one of your own roles: leave a field out to keep it, send null to clear the
description. Everyone who holds the role gets the change at once.

string

2 to 60 characters.

string | null

Up to 300 characters. null clears it.

permissions
array of strings

The whole new list, replacing the old one.

permissions
Headers
string
enum
Defaults to application/merge-patch+json

Generated from available request content types

Allowed:
Responses

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