createOrgNacPortal
Create a NAC portal configuration for guest access, guest administration, or Marvis Client certificate onboarding.
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
uuidRequest Body
application/json
NAC portal configuration for 802.1X onboarding, guest access, or Marvis client certificate provisioning
If type==marvis_client, whether onboarding applies to wireless clients or both wireless and wired clients. enum: wireless, wireless+wired.
"wireless"Value in
- "wireless"
- "wireless+wired"
Additional CA certificates trusted during NAC portal certificate onboarding
Optional list of additional NAC server names
URL of the NAC portal background image
Validity duration for portal-issued client certificates, in days
EAP mode used when onboarding wireless clients through the NAC portal. enum: wpa2, wpa3.
"wpa2"Value in
- "wpa2"
- "wpa3"
Whether location data collection is enabled for devices onboarding through this NAC portal
falseOptional, model, version, fingerprinting, events (connecting, disconnect, roaming), which ap, default is false
Number of days before certificate expiration to start sending reminder notifications
Human-readable name of the NAC portal
Whether to send reminder notifications before portal-issued certificates expire
Guest portal settings used when type==guest_portal
Wireless SSID associated with the NAC portal
SAML SSO settings for NAC portal authentication and role mapping
URL for the NAC portal template customization resource
Terms of service text shown in the NAC portal
NAC portal mode, such as guest admin, guest portal, or Marvis client onboarding. enum: guest_admin, guest_portal, marvis_client.
Value in
- "guest_admin"
- "guest_portal"
- "marvis_client"
Response Body
curl -X POST "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/nacportals" \ -H "Content-Type: application/json" \ -d '{}'{ "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 }}listOrgNacPortals GET
List NAC portal configurations in the organization for guest portal, guest admin, or Marvis Client onboarding workflows.
getOrgNacPortal GET
Retrieve configuration details for a specific NAC portal, including portal type, SSID, SSO, guest portal, certificate, and template settings.