OrgsNAC Portals

getOrgNacPortal

GET
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}

Retrieve configuration details for a specific NAC portal, including portal type, SSID, SSO, guest portal, certificate, and template 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
nacportal_id*string
Formatuuid

Response Body

curl -X GET "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/nacportals/000000ab-00ab-00ab-00ab-0000000000ab"
{  "access_type": "wireless",  "cert_expire_time": 365,  "enable_location": false,  "enable_telemetry": true,  "expiry_notification_time": 2,  "name": "get-wifi",  "notify_expiry": true,  "ssid": "Corp",  "sso": {    "idp_cert": "-----BEGIN CERTIFICATE-----\nMIIFZjCCA06gAwIBAgIIP61/1qm/uDowDQYJKoZIhvcNAQELBQE\n-----END CERTIFICATE-----",    "idp_sign_algo": "sha256",    "idp_sso_url": "https://yourorg.onelogin.com/trust/saml2/http-post/sso/138130",    "issuer": "https://app.onelogin.com/saml/metadata/138130",    "nameid_format": "email",    "sso_role_matching": [      {        "assigned": "user",        "match": "Student"      }    ],    "use_sso_role_for_cert": true  }}