DELETE
/
knowledge
/
{folderId}
/
{attachmentId}
curl --request DELETE \
  --url https://api.langdock.com/knowledge/{folderId}/{attachmentId} \
  --header 'Authorization: <authorization>'

Headers

Authorization
string
required

API key as Bearer token. Format "Bearer YOUR_API_KEY"

Path Parameters

folderId
string
required

The ID of the knowledge folder

attachmentId
string
required

The ID of the attachment to delete

Response

200

Attachment deleted successfully