# Harness Templates API

**Canonical:** https://apis.io/apis/harness/harness-templates-api/  
**Provider:** Harness — https://apis.io/providers/harness/  
**Base URL:** https://app.harness.io  
**Documentation:** https://apidocs.harness.io

Harness Templates API is one of 488 APIs that [Harness](https://apis.io/providers/harness/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Templates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

This contains a list of APIs specific to the Templates Validations and Refresh

## Operations (16)

| Method | Path | Summary |
|---|---|---|
| POST | `/template/api/refresh-template/refreshed-yaml` | Get YAML with updated Template Inputs |
| GET | `/template/api/refresh-template/validate-template-inputs` | Validate Template Inputs in a YAML |
| POST | `/template/api/templates/v2/applyTemplates` | Gets complete yaml with templateRefs resolved |
| POST | `/template/api/templates` | Create a Template |
| DELETE | `/template/api/templates/{templateIdentifier}/{versionLabel}` | Delete Template Version |
| GET | `/template/api/templates/{templateIdentifier}` | Get Template |
| GET | `/template/api/templates/templateInputs/{templateIdentifier}` | Gets Template Input Set YAML |
| GET | `/template/api/templates/{templateIdentifier}/labels` | Get custom labels per template version |
| GET | `/template/api/templates/entitySetupUsage/{templateIdentifier}` | Get Entities referring this template |
| POST | `/template/api/templates/list-metadata` | Gets all metadata of template list |
| POST | `/template/api/templates/move-config/{templateIdentifier}` | Move Template YAML from inline to remote |
| GET | `/template/api/templates/refresh-and-get/{templateIdentifier}` | Refresh cache and fetch a Template |
| POST | `/template/api/templates/{templateIdentifier}/labels/replace` | Replace custom labels for one template version |
| PUT | `/template/api/templates/update/{templateIdentifier}/{versionLabel}` | Update Template Version |
| POST | `/template/api/templates/update/git-metadata/{templateIdentifier}/{versionLabel}` | Update git metadata details for a remote template |
| PUT | `/template/api/templates/updateStableTemplate/{templateIdentifier}/{versionLabel}` | Update Stable Template Version |

## Machine-readable artifacts (10)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-templates-api-openapi.yml
- **Documentation** — https://apidocs.harness.io
- **APIReference** — https://apidocs.harness.io
- **GettingStarted** — https://developer.harness.io/docs/platform/automation/api/api-quickstart/
- **Authentication** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/authentication/harness-authentication.yml
- **OAuthScopes** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/scopes/harness-scopes.yml
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/errors/harness-error-codes.yml
- **Conventions** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/conventions/harness-conventions.yml
- **Idempotency** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/conventions/harness-conventions.yml
- **RateLimits** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/rate-limits/harness-rate-limits.yml

## Other Harness APIs (12)

- [Harness Continuous Integration API](https://apis.io/apis/harness/ci-api/)
- [Harness Continuous Delivery and GitOps API](https://apis.io/apis/harness/cd-api/)
- [Harness Feature Management and Experimentation API](https://apis.io/apis/harness/feature-flags-api/)
- [Harness Cloud Cost Management API](https://apis.io/apis/harness/ccm-api/)
- [Harness Chaos Engineering API](https://apis.io/apis/harness/chaos-api/)
- [Harness Security Testing Orchestration API](https://apis.io/apis/harness/sto-api/)
- [Harness Internal Developer Portal API](https://apis.io/apis/harness/idp-api/)
- [Harness Code Repository API](https://apis.io/apis/harness/code-repo-api/)
- [Harness Service Reliability Management API](https://apis.io/apis/harness/srm-api/)
- [Harness Infrastructure as Code Management API](https://apis.io/apis/harness/iacm-api/)
- [Harness Supply Chain Security API](https://apis.io/apis/harness/ssca-api/)
- [Harness Software Engineering Insights API](https://apis.io/apis/harness/sei-api/)

## Tags

Templates

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/harness/harness-templates-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/harness/.
