---
title: "Delete an async redaction record."
method: DELETE
path: "/api/documents/{documentId}"
tags: ["Documents"]
---

# Delete an async redaction record.

`DELETE /api/documents/{documentId}`

Requires the `documents:write` scope.

## Path parameters

- `documentId` string, required

## Query parameters

- `owner` string

## Headers

- `Authorization` string, required

## Response `200`

The record and any stored redacted bytes were deleted.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Unknown document id.
- `413` — Content Too Large
- `415` — Unsupported Media Type
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/philterd/apis/philter-api.md) · [All operations](https://skmtc.net/philterd/apis/philter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/philterd/philter-api/versions/67443cd5a65b/schema)
