EkeyV2

Add a lock to the server

Add a specific V1, V2 or V3 lock

post/ekey/v2/locks/{serial_number}

Request

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

Path parameters

serial_numberstring required

Serial number of MAC address of lock.

Headers

X-Assume-Userstring

Assume the identity of the user in another domain

Request body

slekstring

Server-Lock Encryption Key (base64encoded).

mcustring

Firmware version.

batterynumber

Battery level.

aliasstring

Name of the lock.

addressstring

Physical address of the lock.

rfstring

RF unit - hardware information.

designidnumber

Design ID.

adminpinstring

Admin PIN code on the lock.

Response

The lock was successfully deleted.

Empty required

Changes

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