Skip to content
DELETE /connector/{slug}

Irreversible. Refused with 409 while any connection still uses this connector — delete or transfer those first — so it cannot strand vaulted accounts or toolbox tools. Org-owned connectors only. Owner only: `edit` may modify a connector but never delete it (docs/access-model.md §2), so an `edit` grantee gets 403, and a connector with no owner row answers 403 with `code: "connector_ownerless"` to an `edit` grantee (a caller without `edit` is refused first) until `POST /connector/{slug}/owner` assigns one. Clears the connector's owner row and grants before it is removed, so a later connector reusing the slug inherits neither.

Path Parameters

slugstring
required·

Connector slug of an org-owned connector.

Response Body

successboolean
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())