Skip to main content
PATCH
/
storage
/
filesystems
/
{filesystem_id}
Python (SDK)
import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os


with Latitudesh(
    bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:

    res = latitudesh.storage.update_filesystem(filesystem_id="fs_7vYAZqGBdMQ94", data={
        "id": "fs_7vYAZqGBdMQ94",
        "type": latitudesh_python_sdk.PatchStorageFilesystemsStorageType.FILESYSTEMS,
        "attributes": {
            "size_in_gb": 1501,
        },
    })

    # Handle response
    print(res)
{
  "data": {
    "id": "fs_7vYAZqGBdMQ94",
    "type": "filesystems",
    "attributes": {
      "name": "Mediocre Cotton Shoes",
      "size_in_gb": 1501,
      "created_at": "2025-07-16T18:37:10.000Z",
      "project": {
        "id": "proj_lkg1De6ROvZE5",
        "name": "Mediocre Wool Car",
        "slug": "mediocre-wool-car",
        "description": "Mediocre Cotton Gloves",
        "billing_type": "Normal",
        "billing_method": "Normal",
        "bandwidth_alert": false,
        "environment": null,
        "billing": {
          "subscription_id": null,
          "type": "Normal",
          "method": "Normal"
        },
        "stats": {
          "databases": 0,
          "ip_addresses": 0,
          "prefixes": 0,
          "servers": 0,
          "storages": 1,
          "virtual_machines": 0,
          "vlans": 0
        }
      },
      "team": {
        "id": "team_emkQ4BokWLHNGo9YabE2S3JWWex",
        "name": "566 Team",
        "slug": "566-team",
        "description": "566 Team",
        "address": "Apt. 855 9729 Coreen Avenue, Tommymouth, MA 12761-5770",
        "status": "verified",
        "currency": {
          "id": "cur_AW6Q2D9lqKLpr",
          "code": "BRL",
          "name": "Brazilian Real",
          "currency_id": null
        }
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

filesystem_id
string
required

Body

data
object
required

Response

200 - application/vnd.api+json

Success

data
object
I