---
title: "Set QStash Plan"
method: POST
path: "/qstash/set-plan/{id}"
tags: ["qstash"]
---

# Set QStash Plan

`POST /qstash/set-plan/{id}`

## Request

- Base URL: `https://api.upstash.com/v2`
- URL: `https://api.upstash.com/v2/qstash/set-plan/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/upstash/apis/developer-api-upstash/docs/qstash/set-plan/:id/post.ts> (a function with typed inputs; its response is checked against the schema)

Changes the QStash account to a different plan type.
This operation changes the plan and associated limits for the QStash account.

## Path parameters

- `id` string, required

## Request body

- object
  - `plan_name` 'paid' | 'qstash_fixed_1m' | 'qstash_fixed_10m' | 'qstash_fixed_100m', required: Target plan to upgrade to

## Response `200`

QStash plan changed successfully

- string

---

[API](https://skmtc.dev/upstash/apis/developer-api-upstash.md) - [All operations](https://skmtc.dev/upstash/apis/developer-api-upstash/llms.txt) - [OpenAPI document](https://skmtc.dev/upstash/apis/developer-api-upstash/revisions/bddbdcab9052?raw)
