Delete a Document

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.lwolf.com/doc/transactiondesk-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "TransactionDesk API MCP server": {
    "url": "https://apidocs.lwolf.com/doc/transactiondesk-api/mcp"
  }
}

Close
DELETE /v2/transactions/{transactionId}/documents/{documentId}

Deletes a specific document within a transaction.

Path parameters

  • transactionId string(uuid) Required

    TransactionGUID

  • documentId string(uuid) Required

    DocumentGUID

Responses

  • 200

    Document deleted successfully

  • 400 application/json

    Bad request

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • details array[string]
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • details array
    • data
  • 404 application/json

    Document not found

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • details array
DELETE /v2/transactions/{transactionId}/documents/{documentId}
curl \
 --request DELETE 'https://api.pre.transactiondesk.com/v2/transactions/{transactionId}/documents/{documentId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (400)
{
  "code": 400,
  "message": "Request was not valid.",
  "details": [
    "string"
  ]
}
Response examples (401)
{
  "code": 401,
  "message": "Unauthorized. The user is not authenticated.",
  "details": []
}
Response examples (404)
{
  "code": 404,
  "message": "Item not found.",
  "details": []
}