Made in 10Docs
GuidesAPI
ReferenceDocuments

Delete a document

Deletes it and detaches it from every character.

DELETE
/documents/{document_id}

Authorization

secretKey
headerAuthorizationBearer <sk_live_… or sk_test_… (a prefix and 40 base62 characters)>

A secret key from the dashboard, sent as Authorization: Bearer sk_live_…. Live keys run real, charged calls; test keys (sk_test_…) run calls of at most 60 seconds, 20 a day per organization, never charged. Each key sees only its own env's calls, meetings, webhooks, memories and analytics. Publishable keys (pk_…) are refused.

Path Parameters

document_id*string

The document's id.

Match^doc_[0-9A-Za-z]{20}$
Example"doc_1Qm6Tx3KcW8vRp5ZbN2h"

Response Body

Deleted.

application/json
  1. response
id*string

The id of what was deleted.

deleted*boolean
Example Request
curl -X DELETE 'https://api.daxov.com/v1/documents/doc_1Qm6Tx3KcW8vRp5ZbN2h'
Example Response
{  "id": "doc_1Qm6Tx3KcW8vRp5ZbN2h",  "deleted": true}