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

Available options:paidqstash_fixed_1mqstash_fixed_10mqstash_fixed_100m

Response

200 — QStash plan changed successfully

Loading search…