Skip to main content
POST
/
v2
/
keys
/
rotate
Rotate Signing Keys
curl --request POST \
  --url https://qstash.upstash.io/v2/keys/rotate \
  --header 'Authorization: Bearer <token>'
{
  "current": "<string>",
  "next": "<string>"
}

Authorizations

Authorization
string
header
required

QStash authentication token

Response

200 - application/json

Keys rotated successfully

current
string

The current signing key.

next
string

The next signing key.