Delete a VM
Delete a VM and its disk. You cannot undo this.
DELETE /v1/tenants/{tenant}/vms/{name}
curl -X DELETE "https://api.shako.dev/v1/tenants/acme/vms/web1" \
-H "Authorization: Bearer $SHAKO_API_KEY"200
{
"name": "web1",
"deleted": true
}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 names of the path and "deleted": true.
Behavior
The VM's public ports and its SSH name stop at once. Its backups follow after_delete.
The errors. All the endpoints of VMs.