access_control
enterprise

Update a custom role.

You need to have a permission with action roles:write and scope permissions:type:delegate. permissions:type:delegate scope ensures that users can only create custom roles with the same, or a subset of permissions which the user has.

put/access-control/roles/{roleUID}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/access-control/roles/{roleUID}
  • Auth
    • HTTP basic
    • or API key in header Authorization

Path parameters

roleUIDstring required

Request body

descriptionstring
displayNamestring
globalboolean
groupstring
hiddenboolean
namestring
versioninteger

Response

(empty)

createdstring date-time
delegatableboolean
descriptionstring
displayNamestring
groupstring
hiddenboolean
namestring
uidstring
updatedstring date-time
versioninteger

Changes

No recorded changes to this operation across all 2 revisions of this API.