---
title: "Update an index"
method: PUT
path: "/indexes/{index-id}"
tags: ["indexes"]
---

# Update an index

`PUT /indexes/{index-id}`

This method updates the name of the specified index.

## Path parameters

- `index-id` string, required

## Headers

- `x-api-key` string, required

## Request body

- object
  - `index_name` string, required — The name of the index.

## Response `200`

Successful response

## Other responses

- `400` — The request has failed.

## Changes

- **2026-07-31** `5dbd6e8473c9` — 1 warning
  - removed the optional property `docs_url` from the response with the `400` status
- **2026-07-26** `c0926990c662` — 1 breaking, 1 info
  - removed the success response with the status `204`
  - added the success response with the status `200`

[Change history](https://skmtc.dev/twelvelabs/apis/twelvelabs-api/changes/indexes/:index-id/put.md)

---

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