User roles (roles)

Requests

HTTP verb Endpoint Description

GET

/rest/v1/iam/roles

Getting the list of roles

Getting the list of roles

Returns the list of all available roles in the current domain. The list is formed from the IAM service configuration file for the current domain based on its type (constant type 'era').

Roles can be assigned to user accounts and role applications.

Request

Example request
GET /rest/v1/iam/roles HTTP/1.1

Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

[
  {
    "role": "admin"
  },
  {
    "role": "rolexy"
  }
]