Skip to main content
DELETE
/
tenants
/
{tenant_id}
/
knowledge_base
/
documents
/
{document_id}
Delete an document
curl --request DELETE \
  --url https://api.prd.rad.security/tenants/{tenant_id}/knowledge_base/documents/{document_id}
{
  "id": "<string>",
  "tenant_id": "<string>",
  "account_id": "<string>",
  "file_name": "<string>",
  "status": "<string>",
  "collections": [
    "<string>"
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "uploaded_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

tenant_id
string
required

RAD tenant ID

document_id
string
required

Document ID

Response

Document deletion initiated

Metadata about a document in the knowledge base

id
string
required

The RAD ID of the document

tenant_id
string
required

The tenant to which the document belongs

file_name
string
required

The name of the document

status
string
required

The current status of the document

collections
string[]
required

The collections to which the document has been attached

created_at
string<date-time>
required

When the document was (externally) created

uploaded_at
string<date-time>
required

When the document was uploaded to the knowledge base

updated_at
string<date-time>
required

When the document's metadata was last updated

account_id
string

The account to which the document is linked, if any