listOrgNacPortals
List NAC portal configurations in the organization for guest portal, guest admin, or Marvis Client onboarding workflows.
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
uuidQuery Parameters
Maximum number of results to return per page
0 <= value100Select the page number to return when using page-based pagination; starts at 1
1 <= value1Response Body
curl -X GET "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/nacportals"[ { "access_type": "wireless", "additional_cacerts": [ "-----BEGIN CERTIFICATE-----\nMIIFZjCCA06gAwIBAgIIP61/1qm/uDowDQYJKoZIhvcNAQELBQE\n-----END CERTIFICATE-----" ], "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 } }]validateOrgIdpCredential POST
IDP Credential Validation. The output will be available through websocket. As there can be multiple commands issued against the same device at the same time and the output all goes through the same websocket stream, `session` is introduced for demux. #### Subscribe to Device Command outputs `WS /api-ws/v1/stream` ``` json { "subscribe": "orgs/{org_id}/mist_nac/test_idp" } ``` ### Response (no idp can be found) ``` json { "event": "data", "channel": "/orgs/{org_id}/mist_nac/test_idp", "status": "data": { "status": "failure", "error": "No matching IDP found" } } ``` ### Response OK ``` json { "event": "data", "channel": "/orgs/{org_id}/mist_nac/test_idp", "status": "data": { "status": "success", "idp_id": "915793c0-1355-4e98-b1c0-23df2227b357", "idp_type": "ldap", // more attributes will be added later } } ``` ### Response Invalid Credentials ``` json { "event": "data", "channel": "/orgs/{org_id}/mist_nac/test_idp", "status": "data": { "status": "failure", "error": "Invalid Credentials", "idp_id": "915793c0-1355-4e98-b1c0-23df2227b357", "idp_type": "ldap", } } ```
createOrgNacPortal POST
Create a NAC portal configuration for guest access, guest administration, or Marvis Client certificate onboarding.