Consolidate whitelist label

put/api/v2/enterprise/{enterpriseId}/whitelists/consolidateLabel

Sets the same label on a given address across multiple wallet whitelists within an enterprise. Used by the global address book to unify duplicate labels into a single row.

Path Parameters

  • enterpriseIdstringRequired
    The enterprise ID
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters

Request Body

address string required
The address whose label should be consolidated across wallets
Min length: >= 1 characters
walletIds array[string] required
The wallet IDs whose whitelist entries should be updated
newLabel string required
The new label to set on the whitelist entry across all specified wallets
Min length: >= 1 characters

200 Response

successes array[object] required
Wallets whose whitelist entry labels were successfully updated
walletId string required
The wallet ID that was successfully updated
failures array[object] required
Wallets that could not be updated, with the reason for each failure
walletId string required
The wallet ID that failed to update
error string required
The error message describing why the update failed

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

401 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

403 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

404 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id