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
To better understand Terrakube Configuration Language job templates please refer to the following GitHub repository.
Example:
Supported Operations
Returns an instance of type template
/organization/{organizationId}/template/{templateId}
organization Identifier
template Identifier
Selects the set of template fields that should be returned in the result.
Selects the set of relationships that should be expanded as a compound document in the result.
Creates an item of type template and adds it to template
/organization/{organizationId}/template
organization Identifier
Deletes an instance of type template
/organization/{organizationId}/template/{templateId}
organization Identifier
template Identifier
No body
Modifies an instance of type template
/organization/{organizationId}/template/{templateId}
organization Identifier
template Identifier
No body
For a complete list of organization operation please visit the OpenAPI specification
Was this helpful?