UserV1

Get user's identities

get/user/v1/identities

Request

  • Base URL: https://api.danalock.com
  • URL: https://api.danalock.com/user/v1/identities
  • 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

Assumable identities.

idstring
domainstring
primaryboolean
rolestring
domain_rightsstring[]

Example response

[
  {
    "id": "user-1234",
    "domain": "user's domain",
    "role": "administrator",
    "domain_rights": [
      "*"
    ]
  }
]

Changes

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