---
title: "Create partition"
method: POST
path: "/disk/create-partitions"
tags: ["Disk"]
---

# Create partition

`POST /disk/create-partitions`

Create a partition on a disk device

## Request body

- InternalHandlersDiskDiskPartitionRequest
  - `device` string, required
  - `sizes` integer[], required

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/versions/950e51f8af98/schema)
