<@U04SE163WC8> I have created cutom connector usin...
# ask-ai
m
@kapa.ai I have created cutom connector using builder UI and publish. I want to remove this connector. Is there any way ??
u
Yes, you can remove a custom connector from Airbyte, but it requires direct interaction with the database where Airbyte stores its data. Here are the steps: 1. Make sure you delete all the sources/destinations related to that connector before removing it from the database. This is important to avoid any inconsistencies in your data. 2. You can then execute the following SQL commands to delete the custom connector:
Copy code
sql WITH c_b_p AS (   DELETE FROM connector_builder_project   WHERE name = '<your connector name here>'   RETURNING id, actor_definition_id ), a_d_m AS (   DELETE FROM active_declarative_manifest t   USING c_b_p   WHERE t.actor_definition_id = c_b_p.actor_definition_id ), a_d AS (   DELETE FROM actor_definition t   USING c_b_p   WHERE t.id = c_b_p.actor_definition_id ) SELECT * FROM c_b_p;
Replace
<your connector name here>
with the name of your custom connector. This SQL command will delete the custom connector from the
connector_builder_project
,
active_declarative_manifest
, and
actor_definition
tables. Please note that this method requires direct access to the Airbyte database and should be performed with caution. Always backup your data before performing such operations. For more details, you can refer to this [Github Issue](https://github.com/airbytehq/airbyte/issues/22606) and this [Forum Post](https://discuss.airbyte.io/t/815).