curl --request DELETE \
--url https://api.example.com/api/projects/{projectId}/documents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'[
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]Soft delete one or more documents by moving them to trash.
curl --request DELETE \
--url https://api.example.com/api/projects/{projectId}/documents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'[
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]Documentation Index
Fetch the complete documentation index at: https://docs.gorules.io/llms.txt
Use this file to discover all available pages before exploring further.
Personal access token is obtained through your profile
Project unique identifier
List of document IDs to delete
List of deleted document IDs
Was this page helpful?