Accounts
Save account metadata
Changed onSaves metadata for a specific account in the ledger. Requires ledger:WriteMetadata scope (included in the default ledger:write mapping).
post/v3/{ledgerName}/accounts/{address}/metadata
Request
- Base URLhttp://localhost:9000
- URLhttp://localhost:9000/v3/{ledgerName}/accounts/{address}/metadata
- Auth
- HTTP bearer
- or none
Path parameters
ledgerNamestring required
Name of the ledger
addressstring required
Example:users:001
Raw account address, for example users:001. Direct HTTP clients may URL-encode it as one path segment (users%3A001). Decoded exactly once.
Headers
Idempotency-Keystring
Idempotency key for the request
Request body
object required
Metadata key-value pairs (supports typed values)
Example request
{
"account_type": "asset",
"label": "Bank Account",
"active": true,
"balance_threshold": 1000
}Response
Account metadata saved successfully
Changes
- info
api operation id
saveAccountMetadataremoved and replaced withv3SaveAccountMetadata
- info
- info
added the media type
text/plainfor the response with the status - info
added the media type
text/plainfor the response with the status - info
added the non-success response with the status
- info