cURL
deleteFile
Deletes a file.
DELETE
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Bot id
Integration id
Integration alias
Integration name
User Id
User Role
Path Parameters
File ID or Key
Response
Empty response.
The response is of type deleteFileResponse · object.
Last modified on June 1, 2026