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

# deleteCustomFieldAnswer

> Clear a member's response to a profile field (removes the scalar answer or all
selected options). On the public API, clearing another member's response
additionally requires the `host:write:network_members` OAuth scope. Tag and
badge fields take no response and are rejected; revoke them with
`deleteTagMemberships` and `deleteBadgeMemberships`.

**Required scopes:** `write:profile`, `host:write:network_members` (any one)



**mutation** `deleteCustomFieldAnswer(input: DeleteCustomFieldAnswerInput!): DeleteCustomFieldAnswerPayload`

## Arguments

**`input`**: `DeleteCustomFieldAnswerInput!` (required)

Parameters for DeleteCustomFieldAnswer

## Returns

`DeleteCustomFieldAnswerPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`response`**: `MemberCustomFieldResponse`

## Examples

```graphql Mutation
mutation DeleteCustomFieldAnswer($input: DeleteCustomFieldAnswerInput!) {
  deleteCustomFieldAnswer(input: $input) {
    clientMutationId
    errors
    response {
      booleanValue
      customField {
        allowAdHoc
        answers {
          __typename
        }
        collectsContactDetails
        createdAt
        description
        id
      }
      date
      day
      endDate
      lastEditedAt
    }
  }
}
```

```json Variables
{
  "input": {
    "customFieldId": "id",
    "memberId": "id"
  }
}
```

```json Response
{
  "data": {
    "deleteCustomFieldAnswer": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "response": {
        "booleanValue": true,
        "customField": {
          "allowAdHoc": true,
          "answers": {
            "__typename": "CustomFieldAnswerConnection"
          },
          "collectsContactDetails": true,
          "createdAt": "value",
          "description": "string",
          "id": "id"
        },
        "date": "value",
        "day": 1,
        "endDate": "value",
        "lastEditedAt": "value"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.