Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Clé API créée dans votre espace client (kh_live_... ou kh_test_...).

Body

application/json
server_type
string
required
Maximum string length: 50
location
string
required
Maximum string length: 50
image
string
required
Maximum string length: 80
billing_period
enum<string>
required
Available options:
monthly,
quarterly,
semi-annual,
annual
name
string | null
Maximum string length: 63
Pattern: ^[a-zA-Z][a-zA-Z0-9._-]*$
ipv4
boolean | null
ipv6
boolean | null
backups
boolean | null
volume_size_gb
integer | null
Required range: 0 <= x <= 10000
ssh_keys
string<uuid>[] | null
Maximum array length: 10
firewalls
string<uuid>[] | null
Maximum array length: 5
networks
string<uuid>[] | null
Maximum array length: 5
user_data
string | null
Maximum string length: 32768

Response

The response is of type object.