Take a VM's access away

The VM gets the role none at once: from the VM, the shako commands and SSH to the other VMs stop.

DELETE /v1/tenants/{tenant}/vms/{name}/access

curl -X DELETE "https://api.shako.dev/v1/tenants/acme/vms/web1/access" \
  -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

SSH into the VM, the internet and its URLs still work.

The errors. All the endpoints of Access.