---
title: "Update InfraProvider Template"
method: PUT
path: "/accounts/{accountIdentifier}/infraproviders/{infraprovider_identifier}/templates/{template_identifier}"
tags: ["infraproviders"]
---

# Update InfraProvider Template

`PUT /accounts/{accountIdentifier}/infraproviders/{infraprovider_identifier}/templates/{template_identifier}`

## Request

- Base URL: `gateway/cde/api/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `gateway/cde/api/v1/accounts/{accountIdentifier}/infraproviders/{infraprovider_identifier}/templates/{template_identifier}`
- Auth: HTTP bearer and API key in header `x-api-key`

## Path parameters

- `accountIdentifier` string, required
- `infraprovider_identifier` string, required
- `template_identifier` string, required

## Request body

- OpenapiUpdateInfraProviderTemplateRequest
  - `config_identifier` string
  - `created` integer
  - `data` string
  - `description` string
  - `identifier` string
  - `space_id` integer
  - `space_path` string
  - `updated` integer

## Response `200`

OK

- TypesInfraProviderTemplate
  - `config_identifier` string
  - `created` integer
  - `data` string
  - `description` string
  - `identifier` string
  - `space_id` integer
  - `space_path` string
  - `updated` integer

## Changes

> 19 revisions in range; 1 not diffed.

- **2025-02-28** `2513fb81d02b`: 1 info
  - endpoint added
- **2024-05-29** `e133a34ecf0b`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/harness/apis/api-specification/changes/accounts/:accountIdentifier/infraproviders/:infraprovider_identifier/templates/:template_identifier/put.md)

---

[API](https://skmtc.dev/harness/apis/api-specification.md) · [All operations](https://skmtc.dev/harness/apis/api-specification/llms.txt) · [OpenAPI document](https://skmtc.dev/harness/apis/api-specification/revisions/3b3bedabcfa7?raw)
