Retrieve an existing role

Retrieve an existing role based on its name

Path parameters
name
string required

Name of the role to retrieve

Responses
  • 200 The role
    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

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