# Delete a custom detection

Permanently deletes a custom detection and all of its rules. It cannot be undone. Deleting a detection that does not exist succeeds without making any changes.

Endpoint: DELETE /v1/controls/customDetections/{detectionEventType}
Version: v1
Security: x-api-key

## Path parameters:

  - `detectionEventType` (string, required)
    The custom detection's unique identifier. Always an uppercase identifier beginning with CUSTOM_.

