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

To update a dial plan database value, make an HTTP PUT request with basic authorization, resource URI:

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

POST Parameters

Required Parameters

NameDescription
valueThe value of family/key. Example: TestValue

Response

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

Examples

CLI CURL
curl -X PUT -u user:pass --url "http://{PBX}/api/v1/Dialplan/DB/:family/:key+/"  --data-urlencode "value=data"