Vector
Set Index Plan
This endpoint is used to change the plan of an index.
POST/v2/vector/index/{id}/setplan
cURL
curl --request POST \
--url https://api.upstash.com/v2/vector/index/{id}/setplan \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"target_plan": "<target_plan>"
}'200Response
"OK"Authorization
Authorizationheaderstringrequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idpathstringrequired
The unique ID of the index to change plan for
Body
target_planenum<string>required
The new plan for the index