Skip to main content
POST
Server Action

Authorizations

Authorization
string
header
required

An API key from the console: Authorization: Bearer ic_ck_...

Path Parameters

server_id
string
required
Maximum string length: 64

Body

application/json
action
string
required

start, stop, reboot, park (frees the GPU, stops GPU billing, keeps the disk) or resume (from parked)

hard
boolean
default:false

reboot only: a hard reboot (power cycle)

Response

Successful Response

id
string
required
name
string
required
status
string
required

building, active, busy, stopped, parked, deleting, error

addresses
ServerAddress · object[]
created_at
string<date-time> | null
error_reason
string | null

Set when status is error

image_id
string | null

The image the system disk came from

server_type
string | null

The server type's name

site
Site · object | null
ssh_key
string | null
updated_at
string<date-time> | null
volume_ids
string[]

Attached volumes, system disk included