---
title: "POST /template/{id}"
method: POST
path: "/template/{id}"
---

# POST /template/{id}

`POST /template/{id}`

Updates a migration workflow template.

## Path parameters

- `id` string, required

## Request body

- object
  - `templateName` string — The name of the migration workflow template to update.
  - `templateDescription` string — The description of the migration workflow template to update.
  - `clientToken` string — A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

## Response `200`

Success

- UpdateTemplateResponse
  - `templateId` string — The ID of the migration workflow template being updated.
  - `templateArn` string — The ARN of the migration workflow template being updated. The format for an Migration Hub Orchestrator template ARN is <code>arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.
  - `tags` object — The tags added to the migration workflow template.

## Other responses

- `480` — ThrottlingException
- `481` — AccessDeniedException
- `482` — InternalServerException
- `483` — ValidationException
- `484` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/migrationhuborchestrator.md) · [All operations](https://skmtc.net/aws/apis/migrationhuborchestrator/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/migrationhuborchestrator/versions/d388f030f5e3/schema)
