DELETE/phone/cdrs

Function


The DELETE/phone/cdrs request will delete one or more call details records for a user's given phone line. 


Parameters


All parameters go in the header.


Parameter
Type
Operation
phonestring
The  phone line from which the CDRs records are to be deleted.
idstringThe 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 -

"id":"41171875"



Example


To delete two CDRs items for phone line 1752272 directory for fax mailbox 1113840 use this syntax:


HTTP method: DELETE


webserv.telebroad.com/api/teleconsole/rest/phone/cdrs?phone=1752272&id=47124875,471124298


Response:


A "null" error indicates successful deletion:


{

    "error": null,

    "result": true

}

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.