Rotate an OpCert before expiry (edge-self)
Called by the edge agent ~7 days before OpCert expiry. Must present current cert fingerprint + a fresh CSR.
Authorization
bearer In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://api.xentr.ai/api/edge/rotate" \ -H "Content-Type: application/json" \ -d '{ "csr": "string", "currentFingerprint": "a3f2e9d1..." }'Roll back to previous artifact
Queues a Mender deployment of the previously-installed artifact on this edge. Use for incident response when the health check caught a bad release after the grace period.
Trigger a LAN scan from this edge
Kicks off an asynchronous scan job. The edge receives the command via MQTT and streams hits back. Use GET /api/edges/:id/scan/:job_id to poll results.