---
title: "Updates an account custom field."
method: PUT
path: "/v2.1/accounts/{accountId}/custom_fields/{customFieldId}"
tags: ["AccountCustomFields"]
---

# Updates an account custom field.

`PUT /v2.1/accounts/{accountId}/custom_fields/{customFieldId}`

This method updates an existing account custom field.

## Path parameters

- `accountId` string, required
- `customFieldId` string, required

## Query parameters

- `apply_to_templates` string

## Request body

- CustomField — This object provides details about a custom field.
  - `customFieldType` string — The type of custom field. Valid values are: - `text` (default) - `list`
  - `errorDetails` ErrorDetails — This object describes errors that occur. It is only valid for responses and ignored in requests.
    - `errorCode` string — The code associated with the error condition.
    - `message` string — A brief message describing the error condition.
  - `fieldId` string — The ID of the custom field.
  - `listItems` string[] — For a list custom field, this is an array of strings that represent the items in a list. Maximum Length: 2,000 characters.
  - `name` string — The name of the custom field.
  - `required` string — When **true,** the signer must complete the custom field.
  - `show` string — When **true,** the custom field displays at the top of the Certificate of Completion.
  - `value` string — Specifies the value of the custom field. Maximum Length: 2,000 characters.

## Response `200`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/versions/77f1998c313d/schema)
