---
title: "Revoke a template share"
method: DELETE
path: "/template/{id}/share/{aclId}"
tags: ["Templates"]
---

# Revoke a template share

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

## Request

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

Revokes a share on a template. The grantee loses access immediately — including the ability to stamp new toolboxes from it. Toolboxes already stamped are untouched. Requires `can_revoke_share` (`can_share` plus `edit` access) — no `template:manage` fallback.

## 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)
