Update individual wallet unit
Changes the client id, the public key or the authorisation of an individual wallet unit. A member that you leave out keeps its value. The body has no clientUrl: the wallet unit keeps no credential offer URL.
isAuthorised: false on an authorised wallet unit is the kill switch. In the same change, the wallet provider revokes (Revoked) every WIA of the wallet unit on its status list, so an issuer that checks the status refuses the wallet at once, and the wallet unit gets no new WIA. The Wallet Unit History gets the event revoked with the reason kill_switch. The key attestations of the wallet unit do not change: they have the shared status list entry of their keystore type. A revocation is final: a revoked wallet unit (by the kill switch, the revocation status, the device policy scan or the user with the revocation code) cannot be authorised again, and isAuthorised: true for it is refused. The user registers a new wallet unit with the app. isAuthorised: true is for a wallet unit that was never revoked.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
individual-wallet-units:update
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 members to change.
clientId stringA new client id for the wallet unit. No other individual wallet unit, also a deleted one, may have it.
Example:
"urn:ietf:params:oauth:jwk-thumbprint:sha-256:NzbLsXh8uDCcd-6MNwXF4W_7noWXFZAfHkxZsRGC9Xs"clientPublic Key objectA new public key (JWK) of the wallet unit: an EC key on P-256, P-384 or P-521 with
kty,crv,xandy, and no private member. The wallet unit keeps only its thumbprint (clientKeyThumbprint).isAuthorised booleantrueauthorises a wallet unit that was never revoked: it can get WIAs.falseon an authorised wallet unit is the kill switch: the wallet provider also revokes every WIA of the wallet unit, in the same change. A revocation is final:truefor a revoked wallet unit is refused.Example:
true
Response
The individual wallet unit after the change.
individualWallet Unit objectThe individual wallet unit after the change.