XentrDeveloper Docs
API ReferenceEdges

Revoke a device (staff only)

Marks the device as decommissioned / stolen / compromised / rotated and revokes all active OpCerts. CRL picks up the revocation within 5 min.

POST
/api/edges/{id}/revoke
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Device serial (NOT edge UUID — the serial on the label)

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.xentr.ai/api/edges/string/revoke" \  -H "Content-Type: application/json" \  -d '{    "reason": "decommissioned"  }'
Empty