Deutsch
cURL
curl --request PATCH \ --url https://api.langdock.com/knowledge/{folderId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form 'url=<string>' \ --form 'attachmentId=<string>'
{}
API key as Bearer token. Format "Bearer YOUR_API_KEY"
The ID of the knowledge folder
The new file to upload
URL that is shown to the user if the file is used in an answer
The ID of the attachment to update
Attachment updated successfully
War diese Seite hilfreich?