Update a dial rule by ID in a dial plan
Changed onNote you cannot update any fields starting with dial-rule-matching (like dial-rule-matching-to-uri and dial-rule-matching-from-uri) , any modification there should be a delete and create new.
Request
- Base URLhttps://ns-api.com/ns-api/v2
- URLhttps://ns-api.com/ns-api/v2/domains/{domain}/dialplans/{dialplan}/dialrules/{dialrule}
- AuthHTTP bearer
Path parameters
This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.
Request body
Example request
{
"dial-rule-translation-destination-user": "1000",
"dial-rule-translation-destination-host": "example.com",
"dial-rule-translation-source-name": "sales_[*]",
"dial-rule-translation-source-user": "<OwnCidNmbr>",
"dial-rule-translation-source-host": "<OwnDomain>"
}Response
Changes
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- warning