DomainV1

List user roles

User role ids: administrator, user, installer.

get/domain/v1/roles

Request

  • Base URL: https://api.danalock.com
  • URL: https://api.danalock.com/domain/v1/roles
  • Auth: OAuth 2 (authorization code, authorization URL /oauth2/authorize, token URL /oauth2/token)

Headers

X-Assume-Userstring

Assume the identity of the user in another domain

Response

idstring required
namestring required

Example response

[
  {
    "id": "administrator",
    "name": "Administrator"
  }
]

Changes

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