OrgsNAC Rules

getOrgNacRule

GET
/api/v1/orgs/{org_id}/nacrules/{nacrule_id}

Retrieve configuration details for a specific NAC authentication policy rule, including action, matching criteria, dry-run state, and priority.

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
nacrule_id*string
Formatuuid

Response Body

curl -X GET "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/nacrules/000000ab-00ab-00ab-00ab-0000000000ab"
{  "action": "allow",  "apply_tags": [    "c049dfcd-0c73-5014-1c64-062e9903f1e5"  ],  "created_time": 0.1,  "dry_run": true,  "enabled": true,  "guest_auth_state": "authorized",  "id": "53f10664-3ce8-4c27-b382-0ef66432349f",  "matching": {    "auth_type": "eap-tls",    "family": [      "string"    ],    "mfg": [      "string"    ],    "model": [      "string"    ],    "nactags": [      "041d5d36-716c-4cfb-4988-3857c6aa14a2",      "a809a97f-d599-f812-eb8c-c3f84aabf6ba"    ],    "os_type": [      "string"    ],    "port_types": [      "wired"    ],    "site_ids": [      "bb19fc3e-4124-4b57-80d9-c3f6edce47c4",      "bb19fc3e-6564-4b57-80d9-c3f6edce47c1"    ],    "sitegroup_ids": [      "bb19fc3e-4124-4b57-80d9-c3f6edce47c4",      "bb19fc3e-6564-4b57-80d9-c3f6edce47c1"    ],    "vendor": [      "cisc"    ]  },  "modified_time": 0.1,  "name": "string",  "not_matching": {    "auth_type": "eap-tls",    "family": [      "string"    ],    "mfg": [      "string"    ],    "model": [      "string"    ],    "nactags": [      "041d5d36-716c-4cfb-4988-3857c6aa14a2",      "a809a97f-d599-f812-eb8c-c3f84aabf6ba"    ],    "os_type": [      "string"    ],    "port_types": [      "wired"    ],    "site_ids": [      "bb19fc3e-4124-4b57-80d9-c3f6edce47c4",      "bb19fc3e-6564-4b57-80d9-c3f6edce47c1"    ],    "sitegroup_ids": [      "bb19fc3e-4124-4b57-80d9-c3f6edce47c4",      "bb19fc3e-6564-4b57-80d9-c3f6edce47c1"    ],    "vendor": [      "cisc"    ]  },  "order": 1,  "org_id": "a97c1b22-a4e9-411e-9bfd-d8695a0f9e61"}