POST
/
v2
/
vector
/
index
/
{id}
/
setplan
curl -X POST \
  https://api.upstash.com/v2/vector/index/14841111-b834-4788-925c-04ab156d1123/setplan \
  -u 'EMAIL:API_KEY' \
  -d '{"target_plan":"fixed"}'
"OK"

Request Parameters

id
string
required

The unique ID of the index to be deleted.

target_plan
string
required

The new plan for the index.

Response Parameters

"OK" on successfull deletion operation.

curl -X POST \
  https://api.upstash.com/v2/vector/index/14841111-b834-4788-925c-04ab156d1123/setplan \
  -u 'EMAIL:API_KEY' \
  -d '{"target_plan":"fixed"}'
"OK"