The DELETE/phone/cdrs request will delete one or more call details records for a user's given phone line.
All parameters go in the header.
|phone||string||The phone line from which the CDRs records are to be deleted.|
|id||string||The ID for the CDRs to be deleted. Up to ten can be specified, separated by commas.|
You obtain these IDs using the GET/phone/cdrs method, where it looks like this -
To delete two CDRs items for phone line 1752272 directory for fax mailbox 1113840 use this syntax:
HTTP method: DELETE
A "null" error indicates successful deletion: