List devices

The devices of the tenant.

GET /v1/tenants/{tenant}/devices

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

200 (excerpt)

{
  "data": [
    {
      "name": "laptop",
      "address": "100.96.0.2",
      "created": 1793491200,
      "last_seen": 1793491260,
      "email": "maya@example.com"
    }
  ]
}

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.

Response

200 with {"data": [...]}: a list of the device object.

The errors. All the endpoints of Devices.