PUT account/device-id

Updates the id of the device associated with the user account. Used for push notifications.

Request

URL ( requires authentication )

https://api-lease.crexi.com/account/device-id

Body Parameters

DeviceId

string

Device id used for push notifications

Required

Max length: 200

Example

JSON

{
  "DeviceId": "bdd44646-64e2-46ce-b539-7d548786a93e"
}

Response

Details

Returns an HTTP 200 OK response code if device updated successfuly. Returns 400 Bad Request and an error message otherwise.