QStash

Update QStash Budget

Updates the monthly spending budget limit for a QStash instance.

PATCH/v2/qstash/update-budget/{id}
cURL
curl --request PATCH \
  --url https://api.upstash.com/v2/qstash/update-budget/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "budget": 100
  }'
200Response
"OK"

Authorization

Authorizationheaderstringrequired

Bearer authentication header of the form Bearer <token>.

Path parameters

idpathstringrequired

QStash user ID

Body

budgetintegerrequired

Monthly spending budget limit in dollars. Minimum 20, maximum 10000, or 0 for no limit.

Response

200 — Budget updated successfully

Loading search…