---
title: "Update a Link account"
method: PATCH
path: "/api/link/v1/enterprises/{enterpriseId}/accounts/{accountId}"
tags: ["Link Accounts"]
---

# Update a Link account

`PATCH /api/link/v1/enterprises/{enterpriseId}/accounts/{accountId}`

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

## Path parameters

- `enterpriseId` string, required
- `accountId` string, required

## Headers

- `user-id` string, required

## Request body

- object — Updated Link Account details
  - `name` string — Updated account name. Must be unique within the enterprise, max 60 characters.
  - `description` string — Updated account description. Max 256 characters.
  - `status` 'active' | 'inactive' — Updated account status. Only active or inactive allowed.
  - `credentials` object[]
    - `credentials` string, required
    - `expirationDate` string, date-time
    - `id` string, required — Credential id (returned by POST/GET account)
    - `iv` string, required
    - `masterKeyVersion` number, required
    - `tag` string, required
    - `wrappedKey` string, required
  - `whitelistingEnabled` boolean — Updated whitelisting flag.

## Response `200`

OK

- V1PatchAccountResponse
  - `id` string, required
  - `venueId` string, required
  - `credentials` object[], required
    - `id` string, required
    - `accessLevels` string[], required
    - `expirationDate` string
  - `status` 'active' | 'inactive' | 'deleted' | 'pending_credentials', required
  - `name` string, required
  - `description` string, required
  - `whitelistingEnabled` boolean, required
  - `parentAccount` string
  - `users` object[]
    - `permissions` string[], required
    - `userId` string, required
  - `createdDate` string, date-time, required
  - `modifiedDate` string, date-time, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/bitgo/apis/bitgo-api.md) · [All operations](https://skmtc.net/bitgo/apis/bitgo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitgo/bitgo-api/revisions/e445c15e5bee/schema)
