UsersV1

Create user in domain

Creates user in a domain and sends password via e-mail. The user role can be set to User, Administrator or Installer.

put/users/v1/{email_address}

Request

  • Base URL: https://api.danalock.com
  • URL: https://api.danalock.com/users/v1/{email_address}
  • Auth: OAuth 2 (authorization code, authorization URL /oauth2/authorize, token URL /oauth2/token)

Path parameters

email_addressstring required

Headers

X-Assume-Userstring

Assume the identity of the user in another domain

Request body

rolestring
aliasstring
passwordstring

Example request

{
  "role": "User",
  "alias": "aliasname",
  "password": "password"
}

Response

idstring required

Changes

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