DELETE:archive/files

Overview

public. Removes all files from the archive (wipe)

Uri Parameters

None

Query Parameters

None

Return Codes
NameValueDescription
Forbidden403Administrator access is required
Ok200The request completed successfully

Message Format

None

Implementation Notes

Removing a file from the archive will cause it to be permanently deleted.

Code Samples

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();
Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08