UsersV1

Update user

See available roles in ./domain/v1/roles endpoint.

patch/users/v1/{user_id}

Request

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

Path parameters

user_idstring 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

User updated

Changes

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