---
title: "Delete a restriction"
method: DELETE
path: "/restriction/{id}"
tags: ["Restrictions"]
---

# Delete a restriction

`DELETE /restriction/{id}`

## Request

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

Removes the clamp: access reverts to whatever the remaining rules allow, which for an `allow` rule means the target regains access to everything else. Requires `restriction:manage`.

## Path parameters

- `id` 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)
