Roles

Update a role

Update a role.

put/roles/{roleId}

Request

  • Base URL
    https://public.escape.tech/v3
  • Auth
    API key in header X-ESCAPE-API-KEY

Path parameters

roleIdstring required

The role ID

Example:00000000-0000-0000-0000-000000000000

Request body

Example request

{
  "role": {
    "name": "My super role",
    "permissions": [
      "EDIT_ASSETS",
      "EDIT_CUSTOM_RULES"
    ]
  }
}

Response

OK

idstring uuid required

The id of the role

namestring required

The name of the role

permissionsstring[] required

The permissions of the role

createdAtstring date-time required

The date and time the role was created

Changes

No recorded changes to this operation across all 1 revision of this API.