--- title: "Delete a File." slug: "delete-a-file-1" updated: 2026-03-02T22:30:52Z published: 2026-03-02T22:35:55Z canonical: "support.appgate.com/delete-a-file-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.appgate.com/llms.txt > Use this file to discover all available pages before exploring further. # Delete a File. Delete/files/{filename} Delete a File from the current Controller. SecurityHTTPType bearer Path parametersfilenamestringRequired The filename as it's uploaded to the Controller. Exampleappgate-upgrade.img.zip Query parameterschecksumboolean Whether to calculate checksum of the File(s) and include in the response. If true, response take may long depending on the File sizes. Defaultfalse Responses204 The File was deleted successfully. 401 Token error. Login again. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 403 Insufficient permissions to access this resource. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 404 The requested resource can not be found. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 406 Invalid 'Accept' header. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 422 Invalid filename. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 500 Unexpected server side error. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details.