Actions14
Document → Delete
AI-generatedSummary
Delete a document from a collection using its IDs.
Inputs
- collectionId (required) — ID of the collection containing the document
- documentId (required) — ID of the document to delete
- apiType — API type to use, default is native
- region — Region for the API endpoint, default is de-txl
Output shape
object containing success:true and documentId
On success returns { success:true, documentId:
}; if continueOnFail may return an error object.
Examples
Example 1: Delete a specific document
apiType=native, region=de-txl, collectionId=550e8400-e29b-41d4-a716-446655440000, documentId=4b71d0fe-d992-463e-82a1-de337d88ac2d
Example 2: Delete a document with continuation on failure
apiType=native, region=de-txl, collectionId=550e84..., documentId=4b71d0..., continueOnFail=true
Example 3: Delete a document when API type is OpenAI compatible
apiType=openai, region=de-txl, collectionId=550e84..., documentId=4b71d0...