qstash
Reset QStash Token
Resets the authentication credentials for the QStash user account. This invalidates the old password and token, and generates new ones. Returns the updated user information with new credentials.
post/qstash/rotate-token/{id}
Request
- Base URLhttps://api.upstash.com/v2
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
QStash user ID
Response
Token reset successfully, returns updated user information with new credentials
Example response
{
"customer_id": "example@upstash.com",
"id": "99a4c327-31f0-490f-a594-043ade84085a",
"token": "ZXhhbXBsZUB1cHN0YXNoLmNvbTpuYWJlcg==",
"read_only_token": "ZXhhbXBsZUB1cHN0YXNoLmNvbTpuYWJlcg==",
"active": true,
"state": "active",
"modifying_state": "suspended",
"max_message_size": 1048576,
"max_requests_per_day": 1000,
"max_requests_per_day_hard": 1000,
"max_endpoints_per_topic": 100,
"max_requests_per_second": 100,
"max_dlq_size": 1000000,
"max_retries": 999,
"max_topics": 1,
"max_schedules": 10,
"max_events_size": 10000,
"max_dlq_retention_time_milis": 259200000,
"max_delay": 604800,
"max_parallelism": 2,
"max_global_parallelism": 10,
"max_queues": 10,
"max_bandwidth_per_second": 1048576,
"prometheus_enabled": "false",
"timeout": 900,
"type": "free",
"region": "eu-central-1",
"created_by": "cahidarda@upstash.com",
"creation_time": 1781871358,
"enterprise": {
"enabled": true
}
}Changes
No recorded changes to this operation across all 3 revisions of this API.