UserV1

Create or update a client device.

post/user/v1/devices/{device_identification}

Request

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

Path parameters

device_identificationstring required

Random unique identifier (UUID v4 required) for the client device.

Headers

X-Assume-Userstring

Assume the identity of the user in another domain

Request body

device_identificationstring uuid
platform_name'android' | 'iphone'
platform_versionstring
platform_modelstring
application_identifierstring
application_versionstring
application_release_state'production' | 'sandbox'
application_settingsstring
receive_push_notificationsboolean
push_notification_registrationstring
expires_atstring

Response

The device was successfully updated.

Changes

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