Contact devices

Deleting a device

Deleting a contact's device can be performed using a DELETE request to the /contacts/{:cid}/devices/{:did} endpoint. To do this you need to know the exact ‘link’ associated with the contact device.

After you perform this request, the response doesn't contain any information other than the headers as it's not necessary.

The contact has requested to delete a contact device, and when the response of 204 No Content is returned, the contact device is successfully deleted.

  • JSON
  • XML

Deleting a contact device

The following statement allows users to delete a contact’s device using the Whispir API. Note that this device can't be recovered back once deleted.


HTTP 1.1 DELETE https://api.<region>{:did}?apikey=<your_api_key>

Authorization: Basic am9obi5zbWl0aDpteXBhc3N3b3Jk

x-api-key: your_api_key