OrgsNAC Portals

updateOrgNacPortalTemplate

PUT
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}/portal_template

Update visual template settings for a NAC portal, including alignment, primary color, logo, and Powered by visibility.

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

Request Body

application/json

Visual template settings for a NAC portal

alignment?portal_template_alignment

Text and content alignment for the NAC portal page. enum: center, left, right.

Default"center"

Value in

  • "center"
  • "left"
  • "right"
color?string

Primary color used by the NAC portal template

Default"#1074bc"
logo?string

Custom logo custom logo with "data:image/png;base64," format. default null, uses Juniper Mist Logo.

poweredBy?boolean

Whether to hide "Powered by Juniper Mist" and email footers

Defaultfalse

Response Body

curl -X PUT "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/nacportals/000000ab-00ab-00ab-00ab-0000000000ab/portal_template" \  -H "Content-Type: application/json" \  -d '{}'
Empty