Skip to main content
Individual wallet units

Update individual wallet unit revocation status

PUT/v4/config/ows/wallet-provider/individual-wallet-units/{walletUnitId}/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

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:individual-wallet-units:revoke

Path parameters

  • walletUnitIdstring<uuid>required

    The id of the wallet unit, from the list of the wallet units of its kind. The routes of each kind read only their kind: the id of 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

application/json

The revocation of the wallet unit.

  • revocationStatusenum<string>required

    Required. Revoked only: a revocation is final, and there is no suspension. Another value gets 400 (revocationStatus: Input should be 'Revoked').

    Available options:Revoked

    Example:"Revoked"

Response

application/json

The revocation, and the number of status list entries that it changed.

  • revocationStatusenum<string>

    Always Revoked.

    Available options:Revoked

  • walletUnitIdstring<uuid>

    The id of the wallet unit.

  • revokedEntriesinteger

    The WIA status list entries that the call revoked: 0 for a wallet unit without a WIA, and for a wallet unit that was revoked already.

    Example:3