QStash
Set QStash Plan
Changes the QStash account to a different plan type.
POST/v2/qstash/set-plan/{id}
cURL
curl --request POST \
--url https://api.upstash.com/v2/qstash/set-plan/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"plan_name": "paid"
}'200Response
"OK"Authorization
Authorizationheaderstringrequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idpathstringrequired
QStash user ID
Body
plan_nameenum<string>required
Target plan to upgrade to