---
updatedAt: 2026-05-20T17:14:59.000Z
agentTools:
  projectIndex: https://docs.conveyor.com/llms.txt
---

# DELETE Document

Deletes a document

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "portal-api",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.conveyor.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v2/exchange/documents/{document_id}": {
      "delete": {
        "summary": "DELETE Document",
        "description": "Deletes a document",
        "operationId": "delete-document",
        "parameters": [
          {
            "name": "X-API-KEY",
            "in": "header",
            "description": "Your Conveyor API key",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "document_id",
            "in": "path",
            "description": "UUID of the document",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "Record found": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```