Skip to navigation

Create the ZTP template for one OS type

View as MarkdownOpen in Claude

One template per OS type; creating a second one is rejected.

Required scope: SRE (roles: Air SRE)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
os_typeenumRequired

OS family this template applies to.

  • cumulus - Cumulus
  • nvos - NVOS
Allowed values:
templateanyRequired

Template body. Cumulus: a string holding the provisioning script. NVOS: a JSON object holding the ZTP configuration.

Response

idstringRead-onlyformat: "uuid"
createddatetimeRead-only
modifieddatetimeRead-only
os_typeenum

OS family this template applies to.

  • cumulus - Cumulus
  • nvos - NVOS
Allowed values:
templateany

Template body. Cumulus: a string holding the provisioning script. NVOS: a JSON object holding the ZTP configuration.

created_bystring or nullRead-onlyformat: "uuid"
The client who originally created the ZTP template.
last_modified_bystring or nullRead-onlyformat: "uuid"
The client who last updated the ZTP template.

Errors

400
Bad Request Error
403
Forbidden Error
500
Internal Server Error