bymundi API

Delete a document

The delete_document MCP tool: delete a document.

delete_document · writes · destructive

REST: DELETE /v1/documents/{documentId}

What the model reads

Deletes a document and its file. It cannot be undone, so confirm must be the document's exact name. To hide a document from the travelers without deleting it, use update_document with visibility: staff.

Permissions: documents:write. This cannot be undone.

Input

Field Type Required Description
documentId uuid yes
confirm string yes The document's exact name. max 200 chars

Input schema (JSON)

{
  "type": "object",
  "properties": {
    "documentId": {
      "type": "string",
      "format": "uuid"
    },
    "confirm": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The document's exact name."
    }
  },
  "required": [
    "documentId",
    "confirm"
  ],
  "additionalProperties": false
}