Fleet Operations

Resize fleet storage

POST /v1/fleets/{fleetId}/storage/modify

Increase or decrease the storage capacity for your fleet. Only the size can be changed - mount points and number of storage volumes stay the same.

When to use:

  • Increase storage when running out of space
  • Decrease storage to reduce costs
  • Adjust capacity for different workload requirements

Important constraints:

  • Only change size - can't add/remove storage volumes
  • Must match existing mount points exactly
  • Fleet remains available during resize

Parameters

Name In Type Required Description
fleetId path string (uuid) Yes Fleet identifier
Idempotency-Key header string No Unique key that makes retrying this request safe: a retry with the same key returns the first response instead of running the request again. Optional, but strongly recommended. Use a new UUID v4 for each operation, up to 255 characters. Most responses are kept for 24 hours. See API conventions for conflicts, mismatched retries and errors. Maximum length: 255.

Request body (application/json, required)

ModifyStorageRequest

Responses

Status Description Body
200 Storage modification initiated successfully ModifyStorageResponse
400 Invalid storage modification request, or the storage service refused the change, for example because storage is not active. Retry later; contact support if it persists. ErrorResponse
404 Fleet not found ErrorResponse
409 The fleet does not have storage provisioned yet. ErrorResponse
500 Internal server error ErrorResponse

Example request

curl -X POST "$API_URL/v1/fleets/$FLEET_ID/storage/modify" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"storageViews":[{"mountPoint":"/data","size":536870912000}]}'

Example response (200)

{
  "fleetId": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
  "status": "success",
  "message": "Storage modification request submitted successfully"
}

Was this page helpful?

What went wrong?

↑↓ Navigate↵ Open⌘↵ New tabesc Close