Delete File
Delete a file
post
/v1/file/{fileId}/delete
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
fileIdstring* Required
The ID of the file to delete
Request Body * Required
Request Body Schema: application/json
curl -X POST "https://api.chatbotkit.com/v1/file/{fileId}/delete" \-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \
-H "Content-Type: application/json" \
--data-binary @- << EOF {} EOF
{"id":"string"}
The file was deleted successfully