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

# Remove stakeholder

> Remove a person or business stakeholder from an underwriting application by their unique ID.

### Remove stakeholder

Use `removePersonStakeholderInput` or `removeBusinessStakeholderInput` within the [`UnderwritingApplicationStakeholderInput`](/underwriting/reference/graphql/types/underwritingapplicationstakeholderinput) to remove a stakeholder from the application.

You only need to provide the stakeholder's `id` to remove them.

<Callout icon="clapperboard-play" color="#6938EF" type="scenario">
  **Scenario**

  During the application process, Ben realizes that a business partner he had
  initially listed as a stakeholder is no longer involved with the keyboard
  company. He removes this stakeholder by ID before submitting the application
  for review.
</Callout>

<Danger>
  Removing required stakeholders (such as owners or control persons) may cause validation to fail
  when you submit the application. Ensure you maintain all required stakeholder roles.
</Danger>

<RequestExample>
  ```graphql Operation lines expandable theme={null}
  mutation UpdateUnderwritingApplication($input: UnderwritingApplicationUpdateInput!) {
    updateUnderwritingApplication(input: $input) {
      underwritingApplication {
        id
        stakeholders {
          id
          roles
        }
      }
      errors {
        ... on UnderwritingApplicationValidationError {
          message
          code
        }
      }
    }
  }
  ```

  ```json Variables lines theme={null}
  {
    "input": {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "stakeholders": [
        {
          "removePersonStakeholderInput": {
            "id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8091"
          }
        }
      ]
    }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Response lines expandable theme={null}
  {
    "data": {
      "updateUnderwritingApplication": {
        "underwritingApplication": {
          "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "stakeholders": [
            {
              "id": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f80",
              "roles": ["OWNER", "CONTROL_PERSON"]
            }
          ]
        },
        "errors": []
      }
    }
  }
  ```
</ResponseExample>
