Skip to main content
POST
Perform an action on the VM

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vm_id
string<uuid>
required

VM UUID that need to be considered for filter

action
enum<string>
required

Action to perform on the VM

Available options:
stop,
reboot,
snapshot,
enable-bgp,
disable-bgp

Body

application/json
team_id
string<uuid>

Team ID that need to be considered for filter. Default team will be used if not provided.

Example:

"96616865-475e-4191-aba5-f89f0a4b71fe"

name
string<string>

Snapshot name (if taking snapshot)

Example:

"vm-snapshot-name"

desc
string<string>

Snapshot desc (if taking snapshot)

Example:

"snapshot @ 20/09/2025"

Response

Successful operation