---
title: "Delete a Flow document"
method: DELETE
path: "/v1/documents/{uuid}"
tags: ["Documents"]
---

# Delete a Flow document

`DELETE /v1/documents/{uuid}`

## Request

- Base URL: `https://contentmaschine.ai/api`
- URL: `https://contentmaschine.ai/api/v1/documents/{uuid}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://contentmaschine.ai/api/oauth/authorize`, token URL `https://contentmaschine.ai/api/oauth/token`)

## Path parameters

- `uuid` string, uuid, required

## Response `200`

Deleted.

- object
  - `success` boolean
  - `data` object
    - `message` string
  - `timestamp` string, date-time

## Other responses

- `401`: Missing or invalid API key.
- `404`: Unknown document, or not yours.
- `default`: Any other error. Every failure this API emits uses the same envelope; branch on `error.type`, never on `error.message`, and quote `error.correlation_id` to support.

---

[API](https://skmtc.dev/contentmaschine/apis/contentmaschine-ai-api.md) · [All operations](https://skmtc.dev/contentmaschine/apis/contentmaschine-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/contentmaschine/apis/contentmaschine-ai-api/revisions/28c74f46051c?raw)
