1. Telebroad | Support Center
  2. Solution home
  3. Legacy API Documentation
  4. REST API - DELETE Requests
Open navigation

DELETE/contact (Legacy)

  Articles in this support section discuss Telebroad's legacy APIs. To learn about the current version of Telebroad APIs, which offer additional authentication options and support for advanced features, please go to https://developers.telebroad.com/.



The DELETE/contact request will delete one or more of the user's contacts based on the authorization credentials provided.  


Parameters


The parameter go in the header.


Parameter
Type
Operation
idstring
The  ID of the contact to be deleted. Several can be specified, each in a separate ID parameter.

The ID can be obtained using the GET/contact method.

Example


To delete a contact use this syntax:


HTTPS method: DELETE


webserv.telebroad.com/api/teleconsole/rest/speeddial?id=47861


Response:


A "null" error indicates successful deletion.


{

    "error":null,

    "result":true

}


If a wrong/non-existing ID was provided an error message is returned -


{ 

"error":

    {"code": 444, 

    "message": "Not found" 

    } 

}