Update an Account
<Callout intent="warning"> The endpoints exposed here are currently in **Beta**! As we continue to build our initial offering, these endpoints may implement breaking changes. Be sure to check back for our change log regularly as a precaution. </Callout>Apply a single change to an existing account, selected by operation:
- setName: rename a wallet or bank account (send name).
- addNetwork: register an existing wallet on an additional network, which starts a new mint entitlement there (see Wallet entitlements). Rejected with 409 if the address is already registered there.
- requestEntitlement: request an entitlement (currently instant_settlement) on an existing wallet network. Returns 400 if the entitlement isn't requestable for that network. See Wallet entitlements for how requests are reviewed and approved.
The response is the full updated account, same shape as GET /v0/accounts.
Path parameters
Id of the account to update; must belong to the caller's org.
Headers
Session JWT from POST /v0/auth/token, sent as Authorization: Bearer <sessionJwt>.
See Authentication for more details.
Request body
Response
OK
Changes
Changed in 2 of the 3 revisions of this API.3
- ●
the
namerequest property's maxLength was set to200request-property-max-length-set
- ●
- ●
added the new
account_not_provisionedenum value to thecoderesponse property for the response status403response-property-enum-value-added
- ●
added the new
account_verification_pendingenum value to thecoderesponse property for the response status403response-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●