Skip to main content
POST
/
storage
/
filesystems
Typescript (SDK)
import { Latitudesh } from "latitudesh-typescript-sdk";

const latitudesh = new Latitudesh({
  bearer: process.env["LATITUDESH_BEARER"] ?? "",
});

async function run() {
  const result = await latitudesh.storage.createFilesystem({
    data: {
      type: "filesystems",
      attributes: {
        project: "proj_lkg1De6ROvZE5",
        name: "my-data",
      },
    },
  });

  console.log(result);
}

run();
{
  "data": {
    "id": "fs_AW6Q2D9lqKLpr",
    "type": "filesystems",
    "attributes": {
      "name": "my-data",
      "size_in_gb": 1500,
      "created_at": "2026-01-14T15:57:07.000Z",
      "project": {
        "id": "proj_lkg1De6ROvZE5",
        "name": "Small Leather Plate",
        "slug": "small-leather-plate",
        "description": "Awesome Marble Table",
        "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_13ljzVvQY2c2YN4lnMexSm79WgA",
        "name": "592 Team",
        "slug": "592-team",
        "description": "592 Team",
        "address": "247 Russ Station, New Freddy, OK 97400-4162",
        "status": "verified",
        "currency": {
          "id": "cur_AW6Q2D9lqKLpr",
          "code": "BRL",
          "name": "Brazilian Real",
          "currency_id": null
        }
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Body

data
object
required

Response

201 - application/vnd.api+json

Created

data
object