Revoke connection share
/connection/{id}/share/{aclId}
The grantee loses access immediately. The connection itself, its owner, and everything already running through it are untouched. Requires `can_revoke_share` (`can_share`, i.e. `edit` access plus `connection:share`) — no `connection:manage` fallback any more (removed 2026-09-04): a bare permission, with no real grant of the caller's own, no longer revokes a share on a connection shared with someone else.
Path Parameters
Connection id (conn_…).
ACL entry id from the share list.
Response Body
curl -X DELETE 'https://api.elaichi.ai/connection/<id>/share/<aclId>' \
-H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
-H 'Content-Type: application/json'const response = await fetch('https://api.elaichi.ai/connection/<id>/share/<aclId>', {
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/connection/<id>/share/<aclId>"
headers = {
"Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
"Content-Type": "application/json",
}
response = requests.delete(url, headers=headers)
print(response.json())