Template
This endpoint is used to create, update, search or delete teamplates inside an organization.
Entity fields:
data.type
string
Should be "template"
data.attributes.tcl
string
Terraform Configuration Language job template
data.attribute.name
string
Template name
data.attribute.description
string
Template description
data.attribute.version
string
Template version
Example:
{
"data": {
"type": "template",
"attributes": {
"name": "Some name",
"description": "Some description",
"version": "1.0.0",
"tcl": "{{templateSample}}"
}
}
}
Supported Operations
Returns an instance of type template
organization Identifier
template Identifier
GET /api/v1/organization/{organizationId}/template/{templateId} HTTP/1.1
Host:
Accept: */*
Successful response
{
"data": {
"type": "text",
"id": "text",
"attributes": {
"createdBy": "text",
"createdDate": "2025-06-27T09:01:04.331Z",
"description": "text",
"name": "text",
"tcl": "text",
"updatedBy": "text",
"updatedDate": "2025-06-27T09:01:04.331Z",
"version": "text"
},
"relationships": {
"organization": {
"id": "text",
"type": "organization"
}
}
},
"included": [
{
"attributes": {},
"id": "text",
"relationships": {},
"type": "text"
}
]
}
Creates an item of type template and adds it to template
organization Identifier
POST /api/v1/organization/{organizationId}/template HTTP/1.1
Host:
Content-Type: application/vnd.api+json
Accept: */*
Content-Length: 305
{
"data": {
"type": "text",
"id": "text",
"attributes": {
"createdBy": "text",
"createdDate": "2025-06-27T09:01:04.331Z",
"description": "text",
"name": "text",
"tcl": "text",
"updatedBy": "text",
"updatedDate": "2025-06-27T09:01:04.331Z",
"version": "text"
},
"relationships": {
"organization": {
"id": "text",
"type": "organization"
}
}
}
}
Successful response
{
"data": {
"type": "text",
"id": "text",
"attributes": {
"createdBy": "text",
"createdDate": "2025-06-27T09:01:04.331Z",
"description": "text",
"name": "text",
"tcl": "text",
"updatedBy": "text",
"updatedDate": "2025-06-27T09:01:04.331Z",
"version": "text"
},
"relationships": {
"organization": {
"id": "text",
"type": "organization"
}
}
}
}
Deletes an instance of type template
organization Identifier
template Identifier
DELETE /api/v1/organization/{organizationId}/template/{templateId} HTTP/1.1
Host:
Accept: */*
Successful response
No content
Modifies an instance of type template
organization Identifier
template Identifier
PATCH /api/v1/organization/{organizationId}/template/{templateId} HTTP/1.1
Host:
Content-Type: application/vnd.api+json
Accept: */*
Content-Length: 305
{
"data": {
"type": "text",
"id": "text",
"attributes": {
"createdBy": "text",
"createdDate": "2025-06-27T09:01:04.331Z",
"description": "text",
"name": "text",
"tcl": "text",
"updatedBy": "text",
"updatedDate": "2025-06-27T09:01:04.331Z",
"version": "text"
},
"relationships": {
"organization": {
"id": "text",
"type": "organization"
}
}
}
}
Successful response
No content
Last updated
Was this helpful?