Update a Link account

patch/link/api/link/v1/enterprises/{enterpriseId}/accounts/{accountId}

Updates a Link account's details. Supports updating name, description, status, credentials, and whitelisting flag.

Path Parameters

  • enterpriseIdstringRequired
    Your enterprise id.
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters
  • accountIdstringRequired
    The account ID to update.
    Example: aba3a693-4f28-4523-8e53-85a3df22a608

Request Body

name string
Updated account name. Must be unique within the enterprise, max 60 characters.
Min length: >= 1 characters
Example: My Coinbase Account v2
description string
Updated account description. Max 256 characters.
Min length: >= 1 characters
Example: Updated description
status string
Updated account status. Only active or inactive allowed.
Allowed values: active inactive
Example: inactive
credentials array[object]
Updated credentials. All existing credentials must be provided (all-or-none). Each credential must include its id.
credentials string required
Min length: >= 1 characters
expirationDate string <date-time>
id string required
Credential id (returned by POST/GET account)
iv string required
Min length: >= 1 characters
masterKeyVersion number required
tag string required
Min length: >= 1 characters
wrappedKey string required
Min length: >= 1 characters
whitelistingEnabled boolean
Updated whitelisting flag.
Example: true

200 Response

id string required
venueId string required
Min length: >= 1 characters
credentials array[object] required
id string required
accessLevels array[string] required
Allowed values: read write read_write
expirationDate string
Min length: >= 1 characters
status string required
Allowed values: active inactive deleted pending_credentials
name string required
Min length: >= 1 characters
description string required
Min length: >= 1 characters
whitelistingEnabled boolean required
parentAccount string
users array[object]
permissions array[string] required
Allowed values: link.account.admin link.account.transfer link.account.view
userId string required
Min length: >= 1 characters
createdDate string <date-time>required
modifiedDate string <date-time>required

400 Response

401 Response

errorName string required
error string required

404 Response

errorName string required
error string required

409 Response

errorName string required
error string required

422 Response

errorName string required
error string required

500 Response

errorName string required
error string required