Update organisation wallet unit
Authorises an organisation wallet unit, or stops it. Only isAuthorised changes: the wallet makes the other members from the holder organisation. After true, the wallet provider fills the WUA pool of the wallet unit on its schedule; to fill it at once, use Issue organisation wallet unit attestations.
false on an authorised wallet unit is the kill switch. In the same change, the wallet provider revokes (Revoked) every active Wallet Unit Attestation (WUA) of the wallet unit on its status list, and the copies that the holder organisation keeps, so an issuer that checks the status refuses the organisation wallet at once. The Wallet Unit History gets the event revoked with the reason kill_switch; an authorisation gets the event authorised. The key attestations do not change: they have the shared status list entry of their keystore type. When you authorise a revoked wallet unit again, its revoked WUAs stay revoked and the scheduled refill skips it: fill its pool with Issue organisation wallet unit attestations.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
organisation-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 new authorisation of the wallet unit.
isAuthorised booleanrequiredRequired.
trueauthorises the organisation wallet unit, so that it gets Wallet Unit Attestations.falseon an authorised wallet unit is the kill switch: the wallet provider also revokes every active WUA of the wallet unit and the copies that its holder organisation keeps, in the same change.Example:
false
Response
The organisation wallet unit after the change.
organisationWallet Unit objectThe organisation wallet unit after the change.