redis

Change Database Plan

This endpoint changes the plan of a Redis database.

post/redis/{id}/change-plan

Request

Path parameters

idstring required

The ID of the database whose plan will be changed

Request body

database_idstring

ID of the database

plan_name'free' | 'payg' | 'fixed_250mb' | 'fixed_1gb' | 'fixed_5gb' | 'fixed_10gb' | 'fixed_50gb' | 'fixed_100gb' | 'fixed_500gb' required

The new plan for the database

auto_upgradeboolean

Whether to enable automatic upgrade for the database

prod_pack_enabledboolean

Whether to enable the production pack for the database

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.