---
title: "Rename Index"
method: POST
path: "/vector/index/{id}/rename"
tags: ["vector"]
---

# Rename Index

`POST /vector/index/{id}/rename`

## Request

- Base URL: `https://api.upstash.com/v2`
- URL: `https://api.upstash.com/v2/vector/index/{id}/rename`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/upstash/apis/developer-api-upstash/docs/vector/index/:id/rename/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint is used to change the name of an index.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string, required: The new name of the index

## Response `200`

Index renamed successfully

- string

---

[API](https://skmtc.dev/upstash/apis/developer-api-upstash.md) - [All operations](https://skmtc.dev/upstash/apis/developer-api-upstash/llms.txt) - [OpenAPI document](https://skmtc.dev/upstash/apis/developer-api-upstash/revisions/bddbdcab9052?raw)
