File Management

Delete File


Delete a file in a project.


Project Id and filename to specify the file for deletion. The /files/delete API accepts requests in the following format:

DeleteFileRequest Model - Request to delete a file in a project.
projectId integer
Project Id to which the file belongs.
name string
The name of the file that should be deleted.
  "projectId": 0,
  "name": "string"


The /files/delete API provides a response in the following format:

200 Success

RestResponse Model - Base API response class for the QuantConnect API.
success boolean
Indicate if the API request was successful.
errors string Array
List of errors with the API call.
  "success": true,
  "errors": [

401 Authentication Error

UnauthorizedError Model - Unauthorized response from the API. Key is missing, invalid, or timestamp is too old for hash.
www_authenticate string

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: