Removes all files from the archive (wipe)
Name | Type | Description |
authenticate | bool? | Force authentication for request (default: false) |
Name | Value | Description |
OK | 200 | The request completed successfully |
Forbidden | 403 | Administrator access is required |
None
Removing a file from the archive will cause it to be permanently deleted.
The following code example removes all files from the archive
Plug p = Plug.New("http://deki-hayes/@api/deki"); p.At("users", "authenticate").WithCredentials("admin", "password").Get(); p.At("archive", "files").Delete();
The following command permanently deletes all files (namely the files cannot be restored):
curl -u admin:password -X DELETE -i http://mindtouch.address/@api/deki/archive/files
ADMIN permission is required to execute above command.