Delete Document By Id

以 Markdown 格式查看

身份验证

AuthorizationBearer
Bearer 身份验证,格式为 `Bearer <token>`,其中 token 是您的身份验证令牌。

路径参数

domainstring必需

请求头

x-fern-basepathstring or null可选

The basepath of the docs site that the document belongs to, e.g. /plants for a site served at docs.example.com/plants. Omit this for sites served at the root of the domain. Documents are only retrieved by Ask Fern on the site matching the domain and basepath they were created with.

请求

This endpoint expects an object.
document_idstring必需
The unique identifier of the document to delete

响应

Successful Response
successboolean
Whether the documents was successfully deleted

错误

422
Unprocessable Entity Error