Nav

Delete a File

The DELETE operation deletes a file on the server relative to CATALINA_BASE. URLs are of the form http://localhost:8080/console/api/servers/local$73d89173-290e-4cb3-a61c-e11deb74767d/files/<path>; where <path> is the path of the file you want to delete.

Example Request:


       
    
1
DELETE http://localhost:8080/console/api/servers/local$d6f9cf62-f09c-4bf6-9d73-a16fec39dffc/files/foo/bar.xml

Example Response:


       
    
1
2
3
4
200 OK
Content-Length: 0
Server: Apache-Coyote/1.1
Date: Tue, 28 Jul 2015 16:17:12 GMT