DE API Documentation

View on GitHub

Emptying a User’s Trash Directory

URL Path: /secured/filesystem/trash

HTTP Method: DELETE

Error Codes: ERR_NOT_A_USER

Request Query Parameters:

Response:

{
    "trash" : "/path/to/user's/trash/dir/",
    "paths" : [
            "/path/to/deleted/file",
    ]
}

Curl Command:

curl -H "$AUTH_HEADER" -X DELETE http://127.0.0.1:3000/secured/filesystem/trash