> ## 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 existing stakeholder

> Remove a person or business stakeholder from an acceptor application by providing the stakeholder ID in the update mutation.

Use one of the following inputs to remove an existing stakeholder:

* removePersonStakeholderInput

* removeBusinessStakeholderInput

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

<Note>
  After reviewing the application for Maple Street Coffee, a developer at Clearpath Payments realizes that a former business partner was mistakenly added as a stakeholder. They need to remove this stakeholder from the application before proceeding with the underwriting process.
</Note>

<Info>
  For example, all applicants are required to identify a control person. Removing required
  stakeholders will cause validation to fail when you submit the application.
</Info>

<RequestExample>
  ```graphql Operation lines expandable theme={null}
  mutation UpdateAcceptorApplication($input: AcceptorApplicationUpdateInput!) {
    updateAcceptorApplication(input: $input) {
      acceptorApplication {
        applicationStatus
        stakeholders {
          id
          ownershipPercentage
          ... on BusinessStakeholderOutput {
            businessName
          }
          ... on PersonStakeholderOutput {
            name {
              firstName
              lastName
            }
          }
        }
      }
      errors {
        ... on Error {
          message
          __typename
        }
      }
    }
  }
  ```

  ```json Variables lines theme={null}
  {
    "input": {
      "id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
      "stakeholders": [
        {
          "removePersonStakeholderInput": {
            "id": "67f71041-b773-4ffe-90b9-f78e716c9084"
          }
        }
      ]
    }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Response lines theme={null}
  {
    "data": {
      "updateAcceptorApplication": {
        "acceptorApplication": {
          "id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
          "applicationStatus": "CREATED",
          "stakeholders": []
        }
      }
    }
  }
  ```
</ResponseExample>

<Info>
  One of the benefits of GraphQL is that you can perform multiple stakeholder
  operations in a single API call. For example, you can add new stakeholders,
  update existing ones, and remove others all in the same
  updateAcceptorApplication  mutation.
</Info>
