Skip to main content
POST
Create a disk

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Path Parameters

project_id
string
required

The app's name.

Query Parameters

teamID
string

Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
name
string
required

Lowercase letters, digits and hyphens; can't start or end with a hyphen.

Minimum string length: 3
Pattern: ^[a-z0-9][a-z0-9\-]+[a-z0-9]$
size
number
required

Size in GB, with at most one decimal place.

Required range: x >= 0.1

Response

The disk was created. The response body is empty.