Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
The ID of the database whose plan will be changed
Body
application/json
The new plan for the database
Available options:
free
, payg
, fixed_250mb
, fixed_1gb
, fixed_5gb
, fixed_10gb
, fixed_50gb
, fixed_100gb
, fixed_500gb
Example:
"fixed_1gb"
ID of the database
Example:
"6gcefvfd-9627-2tz5-4l71-c5679g19d2g4"
Whether to enable automatic upgrade for the database
Example:
true
Whether to enable the production pack for the database
Example:
false
Response
200 - application/json
Plan changed successfully
The response is of type string
.
Example:
"OK"