cURL
curl --request POST \ --url https://api.upstash.com/v2/vector/index/{id}/setplan \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "target_plan": "free" }'
"OK"
This endpoint is used to change the plan of an index.
free
payg
fixed
Was this page helpful?