App-Einrichtung
Einrichtungscode sperren
Revoke a token by deleting it; redeeming it afterwards fails
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Pfadparameter
employee*string
The employee ID
Format
uuidenrollmentToken*string
The enrollment token ID
Format
uuidResponse-Body
application/json
application/json
curl -X DELETE "https://example.com/employees/497f6eca-6276-4993-bfeb-53cbbbba6f08/enrollment_tokens/497f6eca-6276-4993-bfeb-53cbbbba6f08"Leer
Einrichtungscode erstellen POST
The plain token is returned exactly once, together with the ready-made QR payload; the database only ever sees its SHA-256 hash.
Einrichtungscode einlösen POST
Returns the same payload as `POST /rest/login`. Every failure mode (unknown, expired, revoked, already redeemed, blocked account) answers with the identical 422 so token state cannot be probed.