v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Automation

Update Template

Update Template details if required after creation using the api, the update by a user depends on the scope of the template created check create template docs for more details on the scope

put/operation/automation/{tenant_id}/templates/{template_id}

Path parameters

tenant_idstring required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

template_idstring required

Specify the template id to update which is a unique id can be retrieved using list template api

Request body

namestring required

template name which is unique and does not allow special character or space

descriptionstring

Usage of the template.

contentstring required

The template content

statusstring

Status of the template [active/inactive]. active:- Templates which can be executed. inactive:- Template which cannot be executed

classificationstring[] required

Templates are classified based orchestration actions like Provision, Configure, Backup, Catalog Builder, Deployment, Autoscaling

scope'private' | 'account' | 'tenant'

The scope of the template: Account scope - All users under that account will have access to view and execute Only Account admins can update/delete the templates, Tenant Scope - Users with access to the specific tenant will have access to templates who can describe or execute templates. Tenant admins can only update/delete. Private Scope - User who created will only have access

typestring[] required

Type of the template (Cloud, Monitoring, Virtualization)

servicesstring[] required

Displays the service associated with the template, for example, AWS, AzureRM, Openstack., etc

engine_type'cfn' | 'arm' | 'terraform' | 'mistral' | 'heat' | 'oracle' | 'dm' required

Template formats such as AWS CFN, Azure ARM, Openstack Heat and Mistral

blueprint_supportboolean

Flag to add template to blueprints

Example request

{
  "scope": "private",
  "engine_type": "cfn"
}

Response

Updated

boolean required