Delete a File.

Prev Next
Delete
/files/{filename}

Delete a File from the current Controller.

Security
HTTP
Type bearer
Path parameters
filename
stringRequired

The filename as it's uploaded to the Controller.

Exampleappgate-upgrade.img.zip
Query parameters
checksum
boolean

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
Responses
204

The File was deleted successfully.

401

Token error. Login again.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

403

Insufficient permissions to access this resource.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

404

The requested resource can not be found.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

406

Invalid 'Accept' header.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

422

Invalid filename.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

500

Unexpected server side error.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.