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": "5712f110-48f2-46df-aa51-fa23b39ec4f5"
}

Response

Details

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