---
title: "Delete site exclusion"
method: DELETE
path: "/api/sites/{id}/exclusions/{ruleID}"
tags: ["Sites"]
---

# Delete site exclusion

`DELETE /api/sites/{id}/exclusions/{ruleID}`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/sites/{id}/exclusions/{ruleID}`
- Auth: API key in cookie `hk_token`

Deletes a rule owned by this site. Inherited instance or team rules returned by effective reads cannot be deleted through this route. Requires site data-control permission or the narrow instance site-exclusion permission.

## Path parameters

- `id` string, uuid, required
- `ruleID` string, uuid, required

## Response `204`

Deleted

## Other responses

- `404`: Not found

---

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