Skip to main content
Upstash Documentation

Set Index Plan

This endpoint is used to change the plan of an index.
1 min read
post/vector/index/{id}/setplan
Request example
Response
post/vector/index/{id}/setplan

Authorization

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

Path parameters

idstringrequired#
The unique ID of the index to change plan for

Body

application/json
target_planenum<string>required#
The new plan for the index
Options:freepaygfixed

Responses

application/json
200
Index plan changed successfully