---
title: "List Templates"
method: GET
path: "/operation/automation/templates/{tenant_id}"
tags: ["Automation"]
---

# List Templates

`GET /operation/automation/templates/{tenant_id}`

List all the Templates. Global Scope - All the users will have access to view and execute CoreStack Marketplace Templates will not have access to update/delete the templates. Account Scope - All users under account scope will have access to view and execute the templates, only Account admins can update/delete the templates. Tenant Scope - Users having access to the specific tenant can view or execute templates. Tenant admins can only have the access toupdate/delete the templates. Private Scope - Templates created by the user will only have access for the templates under private scope.

## Path parameters

- `tenant_id` string, required

## Query parameters

- `dsl` 'arm' | 'cfn' | 'heat' | 'mistral' | 'terraform'
- `services` 'Openstack' | 'Azure(public)' | 'Azure' | 'Cloudstack' | 'vCenter' | 'AWS' | 'Rackspace' | 'OpenstackPublic' | 'GCP'
- `limit` integer
- `page` integer

## Response `200`

Success

- TemplateListResponse
  - `total_templates` string, required — Total number of templates available
  - `total_pages` string, required — Total number of pages
  - `templates` TemplateDataModelList, required
    - `template_id` string, required — Unique Id of the template
    - `services` string[], required — Service(s) associated with the template, for example, AWS, AzureRM, Openstack., etc
    - `template_name` string, required — Name of the template
    - `description` string, required — Description about template
    - `type` string[], required — Type of the template like, Cloud, Monitoring, Orchestration., etc
    - `dsl` string, required — dsl of the template
    - `classification` string[], required — Classification of the Template
    - `scope` string, required — scope of template (Account,Tenant,Private)

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
