Skip to main content

DELETE /files

Description

Deletes data on files

The route handles the HTTP DELETE request made to the /files path.

Payload

The server needs to receive a JSON object with the next parameters:

  • ids (array) - (required) an array of ids of files to be deleted
{ 
ids:
[
"/Code/file1",
"/Code/file2",
]
}

Response

The server returns an empty JSON object.

The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).


Related articles: