permission-id, dialpolicy, permission-match, permission-mode and domain. Requires Office Manager scope or higher for the domain. Office Manager and Site Manager scopes read their own domain only; a Reseller reads domains in its territory./list is authorized by the list privilege, the same one /count uses, rather than read. A scope that holds list but not read can still enumerate the collection. Appending /list to a keyed path returns the same reduced shape for one record. /dialpolicy/{policy}/permission/list does the same for a shared policy, for Super User, Super User Read Only and Reseller scopes. /count on these paths returns the number of rules.Authorization: Bearer ********************curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/domains//dialpolicy//permission/list' \
--header 'Authorization: Bearer <token>'[
{
"permission-id": "Kg",
"dialpolicy": "No Premium",
"permission-match": "*",
"permission-mode": "permit",
"domain": "example.com"
},
{
"permission-id": "c2lwOisxOTAwPz8_Pz8_P0Aq",
"dialpolicy": "No Premium",
"permission-match": "sip:+1900???????@*",
"permission-mode": "deny",
"domain": "example.com"
}
]