Operation tokens
An Operation Token is the underlying credential that authorizes a guest to remotely operate (open/close/check status) a single Product during a defined time window, or without expiry. It stores the signed open/close/status payloads sent to the device, tracks how many times it has been used, and its status (active, depleted, expired, blocked, etc.) drives what a linked Operation Key or Key Log is allowed to do.
Create an operation token
Creates a token that lets **your app** operate one product over Bluetooth, through the Parklio SDK, during a time window. Pass `token_open`, `token_close` and `token_status` to the app unchanged.
List operation tokens
Lists operation tokens. `status` becomes `expired` (checked hourly) after `end_time`, `blocked` when you block it, and `invalid` when the product is removed or paired again. `used_count` doesn't count uses over Bluetooth.
Get an operation token
Returns one operation token.
Block an operation token
Marks a token `blocked`. The only accepted body is `{'status': 'blocked'}`.
Delete operation tokens
This endpoint allows the user to delete operation tokens by id