Update File
Update file
post
/v1/file/{fileId}/update
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
fileIdstring* Required
Request Body * Required
Request Body Schema: application/json
namestring
The new name for the file
descriptionstring
The new description for the file
visibilitystring
The file visibility
metaobject
Meta data information
curl -X POST "https://api.chatbotkit.com/v1/file/{fileId}/update" \-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \
-H "Content-Type: application/json" \
--data-binary @- << EOF {"name":"string","description":"string","visibility":"string",} EOF"meta":"object"
{"id":"string"}
The file was updated successfully