Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Your bot ID.
Path Parameters
File ID or Key
Response
Empty response.
The response is of type object.
curl --request DELETE \
--url https://api.botpress.cloud/v1/files/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <api-key>'{}Deletes a file.
curl --request DELETE \
--url https://api.botpress.cloud/v1/files/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <api-key>'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Your bot ID.
File ID or Key
Empty response.
The response is of type object.
Was this page helpful?