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": "eabe053d-832a-4abf-9da0-5e617ed01e9e"
}

Response

Details

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