cURL
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"
This endpoint is used to change the name of an index.
Was this page helpful?