Increase size Of A given Writable Volume

Increase size Of A given Writable Volume

Increase size of a given Writable Volume

Request
URI
POST
https://{api_host}/app_volumes/writables/grow
COPY
Request Body
GrowWritableRequestBody of type(s) application/json
Optional
{
    "size_mb": 20480,
    "volumes": [
        0
    ]
}
integer
size_mb
Optional

Requested size for the Writable Volume(s) in MB used during expansion operations.

array of integer
volumes
Optional

IDs of Writable Volumes to increase size for.

Responses
200

Increase in size successfully requested.

{
    "successes": [
        "Successfully expanded Writable Volume XYZ to size 5000MB"
    ],
    "warnings": [
        "Writable Volume XYZ is attached. Make sure you shut down/logoff XYZ."
    ],
    "errors": [
        "Error expanding Writable Volume XYZ"
    ]
}
array of string
successes
Optional

Details for successfully provisioned volumes.

array of string
warnings
Optional

Details for volumes with warnings.

array of string
errors
Optional

Details for volumes with errors.


400

Request is missing parameters or App Volumes Manager is not properly configured and licensed.

Operation doesn't return any data structure

403

Session expired. Create a session and make the request with the _session_id cookie.

Returns UnauthorizedError of type(s) application/json
{
    "error": "Session expired. Please login again."
}
string
error
Optional

Session expired. Create a session using and make the request with the _session_id cookie.


404

Writable Volume was not found.

Operation doesn't return any data structure

500

Server error.

Returns ServerError of type(s) application/json
{
    "error": "Server Error",
    "detail": "Unexpected server error."
}
string
error
Optional

Server Error.

string
detail
Optional

Details of error. Exact error format subject to change depending on type of error.