Devices
Device list, claim and delete operations
GET
List devices
Returns a paginated list of the environment's devices, each with its claimed Location's code.
POST
Claim a device
Claims a device for a tenant-owned Location using its confirmation code. Restricted to an authenticated human WorkOS admin session — an M2M credential with device:devices:write is not sufficient. Rate-limited per admin session. Validates the confirmation code against loom-loyalty's external claim callback before the device is created.
GET
Get the authenticated device
Returns the device resource linked to the calling device credential.
DELETE
Delete device
Deletes a device and revokes its credential.