Skip to main content
Upstash Documentation

Change Database Plan

This endpoint changes the plan of a Redis database.
1 min read
post/redis/{id}/change-plan
Request example
Response
post/redis/{id}/change-plan

Authorization

Authorizationstringheaderrequired#
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded username:password.

Path parameters

idstringrequired#
The ID of the database whose plan will be changed

Body

application/json
database_idstring#
ID of the database
plan_nameenum<string>required#
The new plan for the database
Options:freepaygfixed_250mbfixed_1gbfixed_5gbfixed_10gbfixed_50gbfixed_100gbfixed_500gb
auto_upgradeboolean#
Whether to enable automatic upgrade for the database
prod_pack_enabledboolean#
Whether to enable the production pack for the database

Responses

application/json
200
Plan changed successfully