Update an account
The closing instant is output only: a body naming closedAt or closed_at at its root is refused with 400 whatever the value it carries, and the stored instant is only ever written by the close command. Metadata is applied as an RFC 7396 merge patch: a body without metadata, or with an empty metadata object, leaves the stored metadata as it is; a key sent as null is deleted; any other key is added or replaced; metadata sent as null also leaves the stored metadata as it is, so keys are deleted one at a time.
Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
Organization ID (UUID)
Ledger ID (UUID)
Account ID (UUID)
Body
Response
OK
100"@treasury_checking"
100"USD"
Instant the account was closed, null while it is still open. Output only: it is written exclusively by the close command and is refused as an input field on create and update
"2021-01-01T00:00:00Z"
"2021-01-01T00:00:00Z"
"2021-01-01T00:00:00Z"
256"EXT-ACC-12345"
false
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
256"Corporate Checking Account"
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
"deposit"
"2021-01-01T00:00:00Z"

