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 |
id | string | The ID of the contact to be deleted. Several can be specified, each in a separate 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"
}
}