Skip to main content
DELETE
/
projects
/
{project_id}
/
documents
/
{document_id}
Delete document
import requests

url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/documents/{document_id}/"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "error": "Authentication credentials were not provided."
}

Documentation Index

Fetch the complete documentation index at: https://docs.clarifeye.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Use Authorization: Bearer

Path Parameters

project_id
string<uuid>
required

UUID of the project

document_id
string<uuid>
required

UUID of the document

Response

Document deletion initiated