redis
Change Database Plan
This endpoint changes the plan of a Redis database.
post/redis/{id}/change-plan
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
The ID of the database whose plan will be changed
Request body
Example request
{
"database_id": "6gcefvfd-9627-2tz5-4l71-c5679g19d2g4",
"plan_name": "fixed_1gb",
"auto_upgrade": true
}Response
Plan changed successfully
string required
Example response
"OK"
Changes
No recorded changes to this operation across all 3 revisions of this API.