DR
05/27/2024, 3:39 PMkapa.ai
05/27/2024, 3:39 PMsql 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;
3. API for deleting custom connectors: There is also an API endpoint available to delete custom connectors. You can use the following API endpoint: POST /v1/source_definitions/delete_custom
For more details, you can refer to the [Airbyte API documentation](https://airbyte-public-api-docs.s3.us-east-2.amazonaws.com/rapidoc-api-docs.html#post-/v1/source_definitions/delete_custom). ### References: - [SQL Query for Deleting Custom Connectors](https://github.com/airbytehq/airbyte/issues/22606) - [API Endpoint for Deleting Custom Connectors](https://discuss.airbyte.io/t/1825) If you need further assistance, feel free to ask!