cURL
curl --request DELETE \ --url https://api.raydocs.com/extractions/sessions/{sessionId}/documents/{documentId} \ --header 'Authorization: Bearer <token>'
Detach a document from an extraction session without deleting it.
sessions-write
DELETE /extractions/sessions/770e8400-e29b-41d4-a716-446655440000/documents/880e8400-e29b-41d4-a716-446655440000 HTTP/1.1 Host: api.raydocs.com Authorization: Bearer <token>
204 No Content
Personal Access Token created from the Raydocs dashboard. Include in the Authorization header: Bearer <your_token> See API Keys for token creation and management.
Bearer <your_token>
Detached