List license devices
Secret and trusted tokens require licenses read permission; limited tokens are refused. Core resolves ownership and mode from the token. Only generated/imported keys with activation state are supported, including expired and revoked keys. Setup restriction does not block issued-key maintenance. No key material, fingerprints or raw metadata are returned. Returns current-generation active and deactivated devices in instance-id order. Counts and pages are live observations. An empty page can have next_cursor; continue until null. Restart pagination to refresh. A failed Apollo read is an error, never an empty list. The device cursor cannot be used for history.
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
license_id*stringThe issued license id.
^[A-Za-z0-9_.:-]+$1 <= length <= 128limit?integerNumber of evaluated rows. Older generations can produce an empty page with a cursor.
1 <= value <= 10050cursor?stringOne opaque cursor from this endpoint. Omit when absent. Duplicate or empty parameters are refused.
1 <= length <= 1024The confirmed current data.
application/json- response
license*instances*array<>next_cursor*|Opaque cursor. Pass it unchanged to the same list endpoint.
1 <= length <= 1024curl -X GET 'https://api.comecero.com/api/v1/licenses/string/instances'{ "license": { "license_id": "lic_1", "test": true, "generation": 1, "status": "active", "activation_limit": 3, "activations": 1, "expires_at": null }, "instances": [ { "instance_id": "ins_0123456789abcdef0123456789abcdef", "name": "Laptop", "status": "active", "activated_at": "2026-12-01T00:00:00.000Z", "deactivated_at": null } ], "next_cursor": null}Get a license GET
Returns one license key. A limited token may read it only when the license is bound to the token, such as a license on the signed-in customer's order. Secret, trusted and limited tokens may call it.
Deactivate a license device POST
Secret and trusted tokens require licenses update permission; limited tokens are refused. Core verifies license ownership and mode. Supports generated/imported issued keys, including expired and revoked keys; setup restriction does not block maintenance. Frees at most one slot without changing purchased seats, expiry, money or refunds. Requires a trimmed reason, expected generation and one stable Idempotency-Key. The body is limited to 16 KiB; duplicate JSON fields are refused. Core saves an unknown audit intent before Apollo. Success is returned only after completion and durable audit confirmation. A lost reply or failed final read remains unknown. Preserve the exact reviewed body and key for explicit replay after review; no background replay occurs. Same-key/body replay returns stored completion or resumes the same operation. Changed values conflict. The original actor and request id are retained. generation_conflict requires refresh and a newly reviewed request with a new key.