Create Disk
Creates a new disk with the specified configuration. A default disk
token user is automatically generated and returned in the response,
so the disk is immediately mountable. The one-time disk token appears
in authorizedUsers[].token and cannot be retrieved again. (This
disk token is scoped to the new disk and is separate from the API
key you used to make this request.)
To provide your own users instead, pass the deprecated authMethods
field or call AddDiskUser after creation.
Documentation Index
Fetch the complete documentation index at: https://docs.archil.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key (format key-{API_KEY})
Body
Disk name (alphanumeric, dashes, underscores)
1 - 100^[a-zA-Z0-9_-]+$"my-data-disk"
Storage mount to attach. Omit for archil-managed storage.
1Mount configuration for Amazon S3 buckets
- S3
- Google Cloud Storage
- Cloudflare R2
- S3-Compatible
- Azure Blob Storage
Deprecated. Use AddDiskUser after creation instead. When provided, suppresses the default auto-generated token user.
- Option 1
- Option 2