# Update a custom field

Update a field by ID

Endpoint: PUT /v1/fields/{id}
Version: 1.0.0-beta
Security: OAuth2

## Path parameters:

  - `id` (string, required)
    The Brex identifier of the field to update
    Example: "extended_field_foobar"

## Request fields (application/json):

  - `name` (string,null)
    The name of the field

  - `is_disabled` (boolean,null)
    Indicates whether the field is disabled. A disabled field is not selectable: it is no longer offered as an option in the Brex dropdown and cannot be applied to new transactions. Records that already reference the field are unaffected.

## Response 200 fields (application/json):

  - `brex_id` (string, required)
    The internal Brex ID of the field
    Example: "extended_field_foobar"

  - `name` (string,null, required)
    The name of the field

  - `remote_id` (string,null)
    Remote/external ID of custom field from external system (e.g. ERP or HRIS system)
    Example: "foo_bar"

  - `updated_at` (string, required)
    The last updated timestamp of the field

  - `is_disabled` (boolean, required)
    Indicates whether the field is disabled. A disabled field is not selectable: it is no longer offered as an option in the Brex dropdown and cannot be applied to new transactions. Records that already reference the field are unaffected.

  - `group` (string,null)
    The category of the field, indicating its purpose or context. Supported groups are:

* ACCOUNTING — Fields used to categorize transactions for accounting purposes (for example, expense categories or cost centers) that are managed directly within Brex.

* USER — Fields associated with users, used to capture user-specific attributes.

* ERP — Fields that are synced with an external ERP/accounting system through an Accounting Integration. Creating an Accounting Integration is a prerequisite for creating fields in the ERP group, and each ERP field must reference that integration through integration_id.

* TRAVEL — Fields used in the context of travel bookings and expenses.
    Enum: "ACCOUNTING", "USER", "ERP", "TRAVEL"


## Response 400 fields

## Response 401 fields

## Response 403 fields

## Response 404 fields

## Response 500 fields
