DELETEhttps://core-api.heysadie.ai/documents/{id}
idDelete document
Soft-delete a document. Returns 409 if attached to assistants.
Try it in the API ExplorerExample 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.
AuthorizationstringrequiredAPI 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)optionalRequired when authenticating with an organization key — selects the tenant the request acts on. Omit with tenant keys.
Request
Path parameters
idstringrequiredThe resource's UUID.
Responses
200Deletes the document and detaches it from every assistant. Returns an empty body on success.
No response schema documented.