DevicesV1

Update an afi device owned by the current user

Update device name ane timezone

patch/devices/v1/{serial_number}

Request

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

Path parameters

serial_numberstring required

Dmi serial number of requested device.

Headers

X-Assume-Userstring

Assume the identity of the user in another domain

Request body

namestring

If included, the name of the device will be updated.

timezonestring

If included, the timezone of the device will be updated.

Response

The device was successfully updated.

Changes

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