Restore a revoked device
Admin only. Clears the revocation on one device and announces the change to the tills. It is the same write as revoke with the flag off, so a missing id is refused the same way.
POST
/api/v1/compliance/devices/{deviceId}/restoreAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Path parameters
deviceIdstringrequiredThe device to restore.
Responses
200
The device and its new revocation state
device_idstringrequiredrevokedbooleanrequired400
A device id is required
detailstringrequired401
Not authenticated
detailstringrequired403
Caller is not an admin
detailstringrequired404
Unknown device
detailstringrequired