Updates a dial rule's routing: its application, parameter, destination, caller ID translation, enabled state, or description. Send only the fields to change; the others keep their values. Requires Basic User, Site Manager, Office Manager, Reseller, or Super User scope; a Reseller reaches only its territory's domains, and every other scope only its own domain.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Body Params application/json
Examples
Responses
🟢202Accepted
application/json
The change is accepted and applied shortly after.
Bodyapplication/json
🟠404
🟠400Bad Request
🟠401Authentication Required
🟠403Forbidden
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/domains//dialplans//dialrules/c2lwOjYxMUAq' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"dial-rule-translation-destination-user": "2600",
"dial-rule-description": "611 - Support queue"
}'