cURL
curl --request PATCH \ --url https://api.langdock.com/knowledge/{folderId} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: multipart/form-data' \ --form 'url=<string>' \ --form 'attachmentId=<string>' \ --form file=@example-file
API key as Bearer token. Format "Bearer YOUR_API_KEY"
The ID of the knowledge folder
Attachment updated successfully
Was this page helpful?