Skip to main content
POST
Create a new disk

Authorizations

Authorization
string
header
required

API key

Body

application/json
name
string
required

Disk name (alphanumeric, dashes, underscores)

Required string length: 1 - 100
Pattern: ^[a-zA-Z0-9_-]+$
Example:

"my-data-disk"

mounts
(S3 · object | Google Cloud Storage · object | Cloudflare R2 · object | S3-Compatible · object | Azure Blob Storage · object)[]

Storage mount to attach. Omit for archil-managed storage.

Maximum array length: 1

Mount configuration for Amazon S3 buckets

authMethods
object[]
deprecated

Deprecated. Use AddDiskUser after creation instead. When provided, suppresses the default auto-generated token user.

Response

Disk with this name already exists and configuration matches (idempotent)

success
boolean
required
Example:

true

data
object
required