Skip to main content
PATCH
/
v1
/
server
/
wallets
/
{walletId}
/
accounts
/
{accountId}
Update Server Account
curl --request PATCH \
  --url https://api.example.com/v1/server/wallets/{walletId}/accounts/{accountId} \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <x-access-key>' \
  --header 'X-Signature: <x-signature>' \
  --header 'X-Timestamp: <x-timestamp>' \
  --data '
{
  "accountName": "<string>"
}
'
{
  "account": {}
}

Update Server Account

Update the display name of a server account.

Authentication

X-Access-Key
string
required
API access key
X-Signature
string
required
HMAC-SHA256 signature
X-Timestamp
string
required
ISO 8601 timestamp

Path Parameters

walletId
string
required
The server wallet identifier
accountId
string
required
The account identifier

Request Body

accountName
string
Updated display name

Response

account
object
Updated account object

Example

curl -X PATCH https://api.axonvault.io/v1/server/wallets/wal_abc123/accounts/acc_xyz789 \
  -H "X-Access-Key: ak_live_abc123" \
  -H "X-Signature: sha256=..." \
  -H "X-Timestamp: 2024-01-15T10:30:00Z" \
  -H "Content-Type: application/json" \
  -d '{
    "accountName": "Main Treasury"
  }'
Response:
{
  "account": {
    "accountId": "acc_xyz789",
    "walletId": "wal_abc123",
    "accountIndex": 0,
    "accountName": "Main Treasury",
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-16T14:20:00Z"
  }
}