PBX API : DELETE /Dialplan/DB/:family/

To delete from dial plan database all keys in family, make an HTTP DELETE request with basic authorization, resource URI:

http(s)://{PBX}/api/v1/Dialplan/DB/:family/
 

Response

TypeExample
Success{"type":"result","result":"Success"}
Error{"type":"error","reason":"Failed to update database","result":null}
DELETE http://{PBX}/api/v1/Dialplan/db/CustomFamily/
{
    "type":"result",
    "result":"Success"
}

Example:

CLI CURL
curl -X DELETE -u user:pass --url "http://{PBX}/api/v1/Dialplan/DB/:family/"