OrgsService Policies

getOrgServicePolicy

GET
/api/v1/orgs/{org_id}/servicepolicies/{servicepolicy_id}

Return an organization-level service policy, including the matched tenants and services, action, local routing, path preference, and inspection settings.

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

org_id*string
Formatuuid
servicepolicy_id*string
Formatuuid

Response Body

curl -X GET "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/servicepolicies/000000ab-00ab-00ab-00ab-0000000000ab"
{  "aamw": {    "aamwprofile_id": "33bc09a6-4dee-449e-b057-32ac9f07c9d3",    "enabled": false,    "profile": "docsonly"  },  "action": "allow",  "antivirus": {    "avprofile_id": "3b87ffd8-9336-451e-95fb-95201332ed28",    "enabled": false,    "profile": "string"  },  "appqoe": {    "enabled": false  },  "created_time": 0.1,  "ewf": [    {      "alert_only": true,      "block_message": "Access to this URL Category has been blocked",      "enabled": false,      "profile": "critical"    }  ],  "id": "53f10664-3ce8-4c27-b382-0ef66432349f",  "idp": {    "alert_only": true,    "enabled": false,    "idpprofile_id": "89b9d208-84a4-fa8f-af57-78f92c639cf2",    "profile": "strict"  },  "local_routing": true,  "modified_time": 0.1,  "name": "string",  "org_id": "a97c1b22-a4e9-411e-9bfd-d8695a0f9e61",  "path_preference": "string",  "secintel": {    "enabled": false,    "profile": "default",    "secintelprofile_id": "string"  },  "services": [    "string"  ],  "ssl_proxy": {    "ciphers_category": "medium",    "enabled": false  },  "tenants": [    "string"  ]}