Skip to main content
DELETE
/
documents
/
{connector_id}
Delete documents older than a specified timestamp
curl --request DELETE \
  --url https://{subdomain}.withrealm.com/api/external/alpha/documents/{connector_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "details": {
    "connector_id": "<string>",
    "older_than": "<string>",
    "deleted_count": 123
  },
  "error": "<string>"
}
These endpoints require a custom API connector. 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.

Response

Success

success
boolean
required
message
string
required
details
object
error
string