OrgsSite Templates

updateOrgSiteTemplate

PUT
/api/v1/orgs/{org_id}/sitetemplates/{sitetemplate_id}

Update a site template's automatic upgrade settings and template variables available to WLAN configuration.

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

Request Body

application/json

Site template containing auto-upgrade settings and template variables

auto_upgrade?

Automatic upgrade settings applied by this site template

name?string

Display name of the site template

vars?

Template variables available to WLAN configuration in this site template

Response Body

curl -X PUT "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/sitetemplates/000000ab-00ab-00ab-00ab-0000000000ab" \  -H "Content-Type: application/json" \  -d '{}'
{  "auto_upgrade": {    "day_of_week": "mon",    "enabled": true,    "time_of_day": "string",    "version": "string"  },  "name": "string",  "vars": {    "SSID_STR": "string",    "VLAN_ID": "string"  }}