ai-context

Delete a reference document

Remove a document from the business context and delete its stored file. A document linked from Google Drive is only unlinked; the file stays in Drive.

delete/ai-context/documents/{document_id}/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/ai-context/documents/{document_id}/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

document_idstring uuid required

Response

Successful Response

countinteger

The number of resources that were deleted.

detailstring required

The detail of why the resource was deleted.

Changes

No recorded changes to this operation across all 1 revision of this API.