UserV1

Update a user's details.

patch/user/v1/update

Request

  • Base URL: https://api.danalock.com
  • URL: https://api.danalock.com/user/v1/update
  • Auth: none declared

Headers

X-Assume-Userstring

Assume the identity of the user in another domain

Request body

firstnamestring
lastnamestring
addressstring
phonestring
display_namestring
passwordstring

Example request

{
  "firstname": "John",
  "lastname": "Woo",
  "display_name": "John Woo"
}

Response

idstring
usernamestring
display_namestring
email_addressstring
domainstring
aliasstring

Example response

{
  "id": "user-1234",
  "username": "JohnWoo",
  "display_name": "John Woo",
  "email_address": "john@gmail.com",
  "domain": "JohnWoo's domain",
  "alias": "JohnWoo's alias"
}

Changes

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