---
title: "Revoke connection share"
method: DELETE
path: "/connection/{id}/share/{aclId}"
tags: ["Connections"]
---

# Revoke connection share

`DELETE /connection/{id}/share/{aclId}`

## Request

- Base URL: `https://api.elaichi.ai`
- URL: `https://api.elaichi.ai/connection/{id}/share/{aclId}`
- Auth: HTTP bearer

Revokes a share on a connection. The grantee loses access immediately. The connection itself, its owner, and everything already running through it are untouched. Requires `can_revoke_share` (`edit` access plus `connection:share`); a bare permission with no grant of the caller's own does not revoke a share.

## Path parameters

- `id` string, required
- `aclId` string, required

## Headers

- `X-Organization-Id` string

## Response `200`

Success

- Success
  - `success` boolean, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `429`: Rate limited

---

[API](https://skmtc.dev/elaichi/apis/elaichi-api.md) · [All operations](https://skmtc.dev/elaichi/apis/elaichi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/elaichi/apis/elaichi-api/revisions/b22cfb7b6d15?raw)
