---
title: "Deletes an infected file"
method: DELETE
path: "/v1/organisation/{ouId}/infectedfiles/{infectedfileid}"
tags: ["organisation v1"]
---

# Deletes an infected file

`DELETE /v1/organisation/{ouId}/infectedfiles/{infectedfileid}`

## Request

- Base URL: `https://docs.dev.causeway.com/api`
- URL: `https://docs.dev.causeway.com/api/v1/organisation/{ouId}/infectedfiles/{infectedfileid}`
- Auth: one of:
  - API key in header `x-access-token`
  - API key in header `x-access-key`
  - HTTP bearer

Determines if the infected file needs to purged or have version removed, then removed infectedFile entry.

---

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