Delete custom connector
/connector/{slug}
Permanently deletes an org-owned connector. Refused with 409 while any connection still uses it, so delete or transfer those first. Only the owner may delete: an `edit` grantee gets 403, and a connector with no owner answers 403 `connector_ownerless` to an `edit` grantee until `POST /connector/{slug}/owner` assigns one. The connector's owner record and grants are cleared, so a later connector that reuses the slug inherits neither.
Path Parameters
Connector slug of an org-owned connector.
Response Body
curl -X DELETE 'https://api.elaichi.ai/connector/<slug>' \
-H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
-H 'Content-Type: application/json'const response = await fetch('https://api.elaichi.ai/connector/<slug>', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import os
import requests
url = "https://api.elaichi.ai/connector/<slug>"
headers = {
"Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
"Content-Type": "application/json",
}
response = requests.delete(url, headers=headers)
print(response.json())