> ## Documentation Index
> Fetch the complete documentation index at: https://docs.journeybee.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Custom Fields (Bulk)

> Update multiple custom fields in a single operation

## Authentication

<CodeGroup>
  ```bash cURL theme={null}
  curl -X PATCH "https://app.journeybee.io/api/v1/custom-fields" \
    -H "Authorization: Bearer your-api-key-uuid" \
    -H "Content-Type: application/json" \
    -d '[{"id": 5, "label": "Updated Revenue Potential", "required": true}]'
  ```
</CodeGroup>

## Request Body Schema

<ParamField body="customFields" type="array" required>
  Array of custom field updates

  <Expandable title="Custom Field Update Object">
    <ParamField body="id" type="number" required>Custom field ID to update</ParamField>
    <ParamField body="label" type="string">Updated field label</ParamField>
    <ParamField body="required" type="boolean">Whether field is required</ParamField>
    <ParamField body="shared" type="boolean">Whether field is shared with partners</ParamField>
    <ParamField body="options" type="array">Updated options for select fields</ParamField>
  </Expandable>
</ParamField>

## Response Schema

<ResponseField name="updated" type="array">
  Array of updated custom field IDs
</ResponseField>

## Notes

* Requires API key with `write_access` permission
* Bulk operation for efficiency
