cURL
curl -X DELETE https://app.okrapdf.com/api/v1/collections/col-abc123/documents \ -H "Authorization: Bearer okra_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"doc_ids": ["ocr-abc123"]}'
{ "removed": 123 }
Remove one or more documents from a collection. The documents themselves are not deleted.
API key as Bearer token: Authorization: Bearer okra_xxx
Authorization: Bearer okra_xxx
OCR job IDs to remove
["ocr-abc123"]
Documents removed