Update a file in a knowledge folder

Changed on
patch/knowledge/{folderId}

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/knowledge/{folderId}
  • Auth
    HTTP bearer

Path parameters

folderIdstring required

The ID of the knowledge folder

Request body multipart/form-data

filestring binary

The new file to upload

urlstring

URL that is shown to the user if the file is used in an answer

attachmentIdstring

The ID of the attachment to update

Response

Attachment updated successfully

Changes