Overview
public. Remove a file from the archive (wipe)
Uri Parameters
| Name | Type | Description |
| fileid | int | identifies a file by ID |
Return Codes
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | Administrator access is required |
| NotFound | 404 | Requested file could not be found in the archive |
| Ok | 200 | Request completed successfully |
Implementation Notes
Removing a file from the archive will cause it to be permanently deleted.
Use GET:archive/files to retrieve a list of files currently in the archive.
Code Samples
The following code example removes file with ID 456 from the archive:
Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("archive", "files", "456").Delete();