Skip to main content
POST
/
redis
/
change-plan
/
{id}
Change Database Plan
curl --request POST \
  --url https://api.upstash.com/v2/redis/change-plan/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "database_id": "6gcefvfd-9627-2tz5-4l71-c5679g19d2g4",
  "plan_name": "fixed_1gb",
  "auto_upgrade": true,
  "prod_pack_enabled": false
}'
"OK"

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Body

application/json
plan_name
enum<string>
required
Available options:
free,
payg,
fixed_250mb,
fixed_1gb,
fixed_5gb,
fixed_10gb,
fixed_50gb,
fixed_100gb,
fixed_500gb
Example:
database_id
string
Example:
auto_upgrade
boolean
Example:
prod_pack_enabled
boolean
Example:

Response

200 - application/json
Example: