Skip to main content
POST
Create, delete or restore an LXC snapshot

Authorizations

Authorization
string
header
required

Authorization: Bearer kh_live_... or a user-scoped kh_oauth_... token.

Headers

Idempotency-Key
string
required
Required string length: 8 - 128
Pattern: ^[A-Za-z0-9._:-]+$

Path Parameters

serviceId
string<uuid>
required

Body

application/json
action
enum<string>
required
Available options:
create,
delete,
restore
name
string
required
Pattern: ^[a-z0-9][a-z0-9-]{0,47}$

Response

Accepted

data
any
required
request_id
string<uuid>
required