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.crexi.com/account/device-id

Body Parameters

DeviceId

string

Device id used for push notifications

Required

Max length: 200

Example

JSON

{
  "DeviceId": "dc3fd39a-debb-40c1-aec7-f84260cd57b8"
}

Response

Details

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