Deleting calls
After deleting the calls, the user will receive a push notification via WebSocket in the channel "user.{ID}" with an array of the IDs of the deleted calls. The push notification will not be sent to the device that made this request
DELETE/api/v1/intercom/callsHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
json |
JSON
| ||||||||
idsrequired | array | Array of call IDs to be deleted, with a maximum of 200 calls in one request |
Response | |||||||||
204 | Successful response | ||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|