Skip to main content
DELETE
/
api
/
r2r
/
v3
/
collections
/
{id}
/
documents
/
{document_id}
Remove document from collection
curl --request DELETE \
  --url https://api.intelligence.io.solutions/api/r2r/v3/collections/{id}/documents/{document_id} \
  --header 'Authorization: Bearer <token>'
{
  "results": {
    "success": true
  }
}
It does not delete the document itself. The user must have permissions to modify the collection.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Collection ID

document_id
string
required

Document ID to remove

Response

200

results
object
I