Update organisation wallet unit revocation status
Revokes an organisation 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, every WIA of its pools included, and the copies that the holder organisation keeps follow. In the same change the wallet unit loses its authorisation (isAuthorised: false, attestationStatus: revoked), so it gets no new WIA until you authorise it again with Update organisation wallet unit and fill its pool with Issue organisation wallet unit attestations. Its Wallet Unit History gets the event revoked with the reason wallet_provider and the actor of the call.
A revocation is final: revocationStatus is Revoked only, and a revoked WIA stays revoked. 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.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
organisation-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:
RevokedorganisationWallet Unit Id string<uuid>The id of the wallet unit.
revokedEntries integerThe WIA status list entries that the call revoked:
0for a wallet unit that was revoked already.Example:
20