Skip to main content
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

Example:"6gcefvfd-9627-2tz5-4l71-c5679g19d2g4"

plan_nameenum<string>required#
The new plan for the database
Options:freepaygfixed_250mbfixed_1gbfixed_5gbfixed_10gbfixed_50gbfixed_100gbfixed_500gb

Example:"fixed_1gb"

auto_upgradeboolean#
Whether to enable automatic upgrade for the database

Example:true

prod_pack_enabledboolean#
Whether to enable the production pack for the database

Example:false

Responses

application/json
200
Plan changed successfully