> ## Documentation index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Ask it with GET https://upstash.com/docs/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.
> Feature requests: https://upstash.com/docs/common/help/feature-requests.md lists what users asked for and how to vote for a request or add one.
> Page rating: `GET https://upstash.com/docs/feedback?path=/docs/qstash/howto/reset-token&helpful={true|false}&comment={comment}` records whether this page helped. The `comment` (URL-encoded, at most 500 characters) says what helped, or what was missing or wrong; a `helpful=false` rating needs it. It is anonymous and needs no key. Comments hold no code, secrets or personal data.

# Reset Token

Your token is used to interact with the QStash API. You need it to publish
messages as well as create, read, update or delete other resources, such as
URL Groups and endpoints.

You can reset your token without downtime. QStash accepts both your current
token and the new one until you rotate, so your applications keep working while
you switch over.

To reset your token, click "Reset" next to "Reset Token" in the
[QStash UI](https://console.upstash.com/qstash). The dialog walks you through
two steps:

1. **Update your applications.** Copy the new token and replace `QSTASH_TOKEN`
   in your applications and environments. The dialog also offers a read-only
   variant of the token.

   If you use the Vercel integration, `QSTASH_TOKEN` in your Vercel project is
   already set to the new token. Redeploy before you rotate.

2. **Rotate Tokens.** Click "Rotate Tokens" once all your applications use the
   new token. The old token stops working and the new one keeps working.

You can close the dialog before rotating. The new token stays ready, and you
can finish the rotation later from Settings.

![](/img/qstash/reset_token.png)

QStash and Workflow share this token.
