Delete a tenant

Delete a tenant. It must have no VMs, and no other members or invites.

DELETE /v1/tenants/{name}

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

200

{
  "name": "acme",
  "deleted": true
}

Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: owner, with a key for the account (--account).

Path parameters

namestringrequired
The tenant's name.

Response

200 with the names of the path and "deleted": true.

Behavior

Its credit, secrets, devices and agent memory go. You cannot undo this.

The errors. All the endpoints of Tenants.