Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

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

Path Parameters

tenant_id
string
required

Id of the tenant that owns the template.

template_id
string
required

Id of the template to be published.

Body

application/json

Request body for publishing a tenant template version

version
string
default:latest

The version of the template to publish (e.g., "v1", "v2", "latest"). If not provided, defaults to "latest".

Response

Template published successfully

Response from publishing a tenant template

id
string
required

The template ID

version
string
required

The published version of the template

published_at
string
required

The timestamp when the template was published