POST
/
vector
/
index
/
{id}
/
rename
Rename Index
curl --request POST \
  --url https://api.upstash.com/v2/vector/index/{id}/rename \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
"OK"

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The unique ID of the index to be renamed

Body

application/json

Response

200 - application/json

Index renamed successfully

The response is of type string.

Example:

"OK"