Skip to main content
DELETE
/
documents
/
{data_source_id}
Delete documents older than a specified timestamp
curl --request DELETE \
  --url https://{subdomain}.withrealm.com/api/external/alpha/documents/{data_source_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "details": {
    "data_source_id": "<string>",
    "older_than": "<string>",
    "deleted_count": 123
  },
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.withrealm.com/llms.txt

Use this file to discover all available pages before exploring further.

These endpoints require a custom API data source. See Custom API for setup instructions.

Rate Limits

600 requests per minute.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

data_source_id
string
required

Query Parameters

older_than
string<date-time>
required

Response

Success

success
boolean
required
message
string
required
details
object
error
string