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

To delete from dial plan database key and value, make an HTTP DELETE request with basic authorization, resource URI:

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

Response

DELETE http://{PBX}/api/v1/Dialplan/db/CustomFamily/testKey/
{
    "type":"result",
    "result":"Success"
}

 

Examples

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