Wake a VM

Wake a VM now. An SSH login or a request to a public port also wakes it.

POST /v1/tenants/{tenant}/vms/{name}/wake

curl -X POST "https://api.shako.dev/v1/tenants/acme/vms/web1/wake" \
  -H "Authorization: Bearer $SHAKO_API_KEY"

200 (excerpt)

{
  "name": "web1",
  "state": "awake",
  "woke_by": "shako vm wake",
  "wake_ms": 620
}

Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: contributor or owner.

Path parameters

tenantstringrequired
The tenant's name, from GET /v1/tenants.
namestringrequired
The VM's name.

Response

200 with the wake object.

Behavior

woke_by and wake_ms in the answer tell what woke the VM and how long the wake took.

The errors. All the endpoints of VMs.