Retrieve an iPXE template
Retrieve an iPXE template by its stable core ID. The caller must be authorized for at least one Site at which the template is available.
The Infrastructure Provider and Tenant are inferred from the org’s membership. User must have authorization role with PROVIDER_ADMIN, PROVIDER_VIEWER, or TENANT_ADMIN suffix.
Authentication
AuthorizationBearer
```
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
```
Path parameters
org
Name of the Org
ipxeTemplateId
Stable template ID (UUID from core)
Response
OK
id
Stable template UUID assigned by core
name
Globally unique template name
template
Raw iPXE script content
requiredParams
Parameters that must be provided to render the template
reservedParams
Parameters reserved by the template and not user-supplied
requiredArtifacts
Artifact names required for the template
visibility
Template visibility: Internal or Public
created
updated
Errors
403
Forbidden Error
404
Not Found Error