---
title: "Remove an endpoint exception"
method: DELETE
path: "/endpoint-protection/exceptions/{package_exception_id}"
---

# Remove an endpoint exception

`DELETE /endpoint-protection/exceptions/{package_exception_id}`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/endpoint-protection/exceptions/{package_exception_id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `endpoint_protection:write`

Removes an exception from the endpoint protection settings

## Path parameters

- `package_exception_id` integer, required

## Response `200`

The exception has been removed

- object
  - `success` integer: The integer 1 indicating success

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
