Changes a shared policy rule's permission-mode and permission-reason and publishes the change over the service bus (SBUS). Requires Super User scope, because a shared policy changes dialing for every domain.Send both fields. The match cannot change, because permission-id is derived from it: delete the rule and create a new one instead. A 202 means the change was published, not yet applied.A policy or rule that does not exist answers 404.
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
Published over the service bus (SBUS), not yet applied. Each server applies the change when the event arrives, so a read straight after may still show the old value.
Bodyapplication/json
🟠404
🟠400
🟠401
🟠403Forbidden
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/dialpolicy//permission/c2lwOisxOTAwPz8_Pz8_P0Aq' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"permission-mode": "permit",
"permission-reason": "Allowed for billing"
}'