Skip to content
Documents

DELETEhttps://core-api.heysadie.ai/documents/{id}

id

Delete document

Soft-delete a document. Returns 409 if attached to assistants.

Try it in the API Explorer

Example request

Terminal
curl -X DELETE "https://core-api.heysadie.ai/documents/DOCUMENT_ID" \
  -H "Authorization: ApiKey YOUR_API_KEY"

Authentication

Authenticate with an API key in the Authorization header using the ApiKey scheme — see Authentication for how keys work and where to get them.

Authorizationstringrequired

API key in the ApiKey scheme: ApiKey YOUR_API_KEY. Tenant keys authorize their own tenant; organization keys can act on any tenant in the organization.

X-Tenant-Idstring (uuid)optional

Required when authenticating with an organization key — selects the tenant the request acts on. Omit with tenant keys.

Request

Path parameters

idstringrequired

The resource's UUID.

Responses

200Deletes the document and detaches it from every assistant. Returns an empty body on success.

No response schema documented.