Remove a device

Remove a device. Its tunnel stops at once.

DELETE /v1/tenants/{tenant}/devices/{name}

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

200

{
  "name": "laptop",
  "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 device's name.

Response

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

The errors. All the endpoints of Devices.