User Roles (roles)

Requests

HTTP verb Endpoint Description

GET

/rest/v1/domain/domains/<domain_id>/roles

Getting the list of child domain roles

Getting the list of child domain roles

Returns a list of all available roles in the child domain. The list is generated based on the IAM service configuration file for the child domain solicitation.

Roles can be assigned to user accounts in the child domain.

Request

Request example
GET /rest/v1/domain/domains/521944bd-016c-b839-648f-50e54938780c/roles HTTP/1.1

Response

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

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