---
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.

---

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