Skip to main content
PATCH
Publish Template
string
required
Bearer token for API authentication. Format: Bearer {{apiToken}}

Query Parameters

UUID
required
The ID of the template to publish.

Response

object
UUID
Template ID.
string
Template name.
string
Template description.
array
List of template variables.
string
Variable name.
string
Default value for the variable.
array
List of template tags.
object
Draft version details.
UUID
Version ID.
integer
Version number.
string
Version status (e.g., “PUBLISHED_LATEST”).
datetime
Timestamp of when the version was published.
object
Published version details.
UUID
Version ID.
integer
Version number.
string
Version status (e.g., “PUBLISHED_LATEST”).
datetime
Timestamp of when the version was published.
array
List of all template versions.
UUID
Version ID.
integer
Version number.
string
Version status (e.g., “PUBLISHED_LATEST”).
datetime
Timestamp of when the version was published.
object
string
The error code (e.g., BAD_REQUEST).
string
A human-readable error message.

Status Codes

  • 200 - OK
  • 400 - BAD REQUEST
  • 401 - UNAUTHORISED
  • 404 - NOT FOUND