---
title: "POST /updateWorldTemplate"
method: POST
path: "/updateWorldTemplate"
---

# POST /updateWorldTemplate

`POST /updateWorldTemplate`

Updates a world template.

## Request body

- object
  - `template` string, required — The Amazon Resource Name (arn) of the world template to update.
  - `name` string — The name of the template.
  - `templateBody` string — The world template body.
  - `templateLocation` object — Information about a template location.
    - `s3Bucket` string — The Amazon S3 bucket name.
    - `s3Key` string — The list of S3 keys identifying the data source files.

## Response `200`

Success

- UpdateWorldTemplateResponse
  - `arn` string — The Amazon Resource Name (arn) of the world template.
  - `name` string — The name of the world template.
  - `createdAt` string, date-time — The time, in milliseconds since the epoch, when the world template was created.
  - `lastUpdatedAt` string, date-time — The time, in milliseconds since the epoch, when the world template was last updated.

## Other responses

- `480` — InvalidParameterException
- `481` — ResourceNotFoundException
- `482` — ThrottlingException
- `483` — InternalServerException

---

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