Delete a single scheduled customer callback record using its unique identifier.
This API endpoint is used by supervisor or administrative applications to permanently remove an unwanted or completed callback from the system queue.
<Protocol>://<IP_Domain_Name>:<port>/ameyorestapi/voice/customerCallbacks/{customerCallbackId}
This API requires session-based authentication. A valid session token, generated upon successful supervisor or administrator login, must be passed in the request header.
| Parameter | Type | Required | Description | Example Value |
customerCallbackId |
String |
Yes | The unique identifier of the callback record to be deleted. | d741-6904fad1-cm-eEcdnIb3-50833 |
DELETE 'https://app3.ameyoemerge.in:8443/ameyorestapi/voice/customerCallbacks/d741-6904fad1-cm-eEcdnIb3-50833' \ --header 'sessionId: d741-6904fad1-ses-supervisor@exotel.in-DRjkyVX072gjShbiytGyb4d5pzwGGIWcJGA5AJeLaQWwYcf0pCWpLdMOapOCmKdVnNlr3vI64hURQt5Wr05OP1671bVtq7rPttDvedBzCEYvJXrl8E5Q-89219'
A successful deletion returns a minimal response, indicating the operation was executed correctly.
| Status Code | Description |
| 200 | The request was successful, and the callback record has been deleted. |
The response body will be the simple string "ok" (not a JSON object).
Returned when the provided sessionId is missing, expired, or invalid.
Returned for an unexpected server-side issue. This can also occur if the system fails to interact with the database to execute the deletion.