Dial Permisions

Add a new permission to a dialpolicy table

Changed on
post/dialpolicy/{policy}/permission

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/dialpolicy/{policy}/permission
  • Auth
    HTTP bearer

Path parameters

policystring required

Request body

synchronous'yes' | 'no' required

When synchronous is requested with "yes" the response will be a 200 on success and will contain a valid JSON representiation of the new resource. If no or left off request a 202 "Accepted" will be given in a success case and this can be considered a success. Synchronous responses will be a little slower as the API will process the geo replication request and wait till the local copy has been written and can be read back berfore sending a response.

permission-matchstring required

The specific match to check against

permission-mode'permit' | 'deny' required

To allow or deny specific match

permission-reasonstring required

The description/reason for making the rule.

Response

dialpolicystring required

The Dial Policy Name

domainstring

The domain the owns the Dial Policy

permission-matchstring required

The specific match to check against

permission-mode'permit' | 'deny' required

To allow or deny specific match

permission-reasonstring required

The description/reason for making the rule.

created-datetimestring

The time the rule was created

permission-idstring required

This is the ID fro the permission rule. Its the base64 encode of permission-match, but is needed for edit and delete.

Changes