# ClearFieldValueInput (/api/reference/inputs/clear-field-value-input)

A field's value to remove from one record. Give exactly one of `personId`, `companyId` and `opportunityId`.

```graphql
input ClearFieldValueInput {
  companyId: ID
  fieldDefinitionId: ID!
  opportunityId: ID
  personId: ID
  setBy: FieldValueSetter
}
```

### Fields [#fields]

#### [`ClearFieldValueInput.companyId`](#company-id) · [`ID`](/api/reference/scalars/id) `scalar` [#company-id]
The company to clear it on.

#### [`ClearFieldValueInput.fieldDefinitionId`](#field-definition-id) · [`ID!`](/api/reference/scalars/id) `non-null` `scalar` [#field-definition-id]
The field's id.

#### [`ClearFieldValueInput.opportunityId`](#opportunity-id) · [`ID`](/api/reference/scalars/id) `scalar` [#opportunity-id]
The opportunity to clear it on.

#### [`ClearFieldValueInput.personId`](#person-id) · [`ID`](/api/reference/scalars/id) `scalar` [#person-id]
The person to clear it on.

#### [`ClearFieldValueInput.setBy`](#set-by) · [`FieldValueSetter`](/api/reference/enums/field-value-setter) `enum` [#set-by]
Who is clearing it. `HUMAN` when left out. The AI's writer must say `AI`, and may not clear a value a person set (`FIELD_VALUE_LOCKED`).

### Member Of [#member-of]

[`clearFieldValue`](/api/reference/mutations/clear-field-value)  `mutation`