# Removing a connector

## Introduction

If a connector is no longer required, you can remove it from your **manage connectors** page. Before attempting to remove a connector, you may need to complete some housekeeping tasks:

* If the connector is associated with any [instances](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/working-with-instances/accessing-instances), these must be [removed](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/working-with-instances/removing-an-instance) first.
* If the instances that you need to remove are used in any [process flow connection shapes](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/connector-shape), these shapes need to be reconfigured or removed first.

## The steps

**Step 1**\
Log in to the [Patchworks dashboard](https://app.wearepatchworks.com/login) and select **process flows** <mark style="color:red;">></mark> **connectors & instances** to access the **manage connectors** page.

**Step 2**\
Click the settings 'cog' icon associated with the connector that you want to remove - for example:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FunR29WLasYt9kgrqcRtL%2Fdelete%20connector%201.png?alt=media&#x26;token=64784dc1-099f-4676-9c6e-1fa51f0c1d23" alt=""><figcaption></figcaption></figure></div>

**Step 3**\
The [connector wizard](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/working-with-connectors/updating-a-connector) is displayed on the settings page - from here, click the 'trash' icon:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FwO8mrmf8lDxy0ZZGnPUo%2Fdelete%20connector%202.png?alt=media&#x26;token=3eda7c17-ca6f-4443-9544-64339762bc86" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 4**\
When prompted, type **confirm** to confirm that you wish to proceed:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FQOOsHTSdkwcEjNYe4fo0%2Fdelete%20connector%203.png?alt=media&#x26;token=179e4c8a-9609-4eb7-a25e-19d2468e5f20" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 5**\
If any instances are found for this connector, the delete operation is cancelled and you are prompted to [remove any associated instances](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/working-with-instances/removing-an-instance) before trying again. Otherwise, the connector is removed immediately.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/working-with-connectors/removing-a-connector.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
