Update individual wallet unit revocation status
Revokes an individual wallet unit (TS3 section 2.5.1): the wallet provider revokes the status list entry of each WIA of the wallet unit that it keeps in its WIA register. In the same change the wallet unit loses its authorisation (isAuthorised: false, status: revoked), so it gets no new WIA, and its Wallet Unit History gets the event revoked with the reason wallet_provider and the actor of the call. A wallet unit without a WIA is revoked too, with revokedEntries 0.
A revocation is final: revocationStatus is Revoked only, and a revoked wallet unit cannot be authorised again (the user registers a new wallet unit with the app). A second revocation of a revoked wallet unit changes nothing: 200 with revokedEntries 0. The key attestations of the wallet unit do not change: they have the shared status list entry of their keystore type. To revoke key attestations, revoke their keystore type with Update individual wallet unit keystore type revocation status.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
individual-wallet-units:revoke
Path parameters
walletUnit Id string<uuid>requiredThe
idof the wallet unit, from the list of the wallet units of its kind. The routes of each kind read only their kind: theidof an organisation wallet unit gives 404 on an individual wallet unit route, and the other way round. A deleted individual wallet unit also gives 404. A deleted organisation wallet unit stays in its list until the purge of its holder organisation: until then its read and its Wallet Unit History answer, and its other operations give 404.
Body
The revocation of the wallet unit.
revocationStatus enum<string>requiredRequired.
Revokedonly: a revocation is final, and there is no suspension. Another value gets400(revocationStatus: Input should be 'Revoked').Available options:
RevokedExample:
"Revoked"
Response
The revocation, and the number of status list entries that it changed.
revocationStatus enum<string>Always
Revoked.Available options:
RevokedwalletUnit Id string<uuid>The id of the wallet unit.
revokedEntries integerThe WIA status list entries that the call revoked:
0for a wallet unit without a WIA, and for a wallet unit that was revoked already.Example:
3