Skip to content
DELETE /connector/{slug}/link-upstream

Removes the connector's declared upstream link. Needs `connector:manage`, not merely edit on the connector: a restriction on an upstream also binds everything declared downstream of it, so detaching that link would otherwise let a fork's own author shed a block while keeping the connector's live connections. Use it to repair a lineage row pointed at the wrong upstream; `POST` the correct one afterwards.

Path Parameters

slugstring
required·

Connector slug of an org-owned connector.

curl -X DELETE 'https://api.elaichi.ai/connector/<slug>/link-upstream' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.elaichi.ai/connector/<slug>/link-upstream', {
  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>/link-upstream"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

response = requests.delete(url, headers=headers)
print(response.json())