Update an existing role

Update an existing role

Body required
application/json

The role to update

name
string required

The role's name

description
string | null

The role's description

permissions
array of objects | null (Permission)

The list of permissions associated with the role

Responses
  • 200 Role successfully updated
    id
    string (Internal ID) required

    Object internal ID

    name
    string required

    The role's name

    description
    string | null

    The role's description

    permissions
    array of objects | null (Permission)

    The list of permissions associated with the role

  • 400 Bad Request
  • 401 Unauthorized request
  • 403 Forbidden action
  • 404 Not Found
  • 500 Internal Server error