public. Delete file attachment
| Name | Type | Description |
| fileid | int | identifies a file by ID |
| filename | string | "=" followed by a double uri-encoded file name |
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| redirects | int? | If zero, do not follow page redirects (only applies when {pageid} is present). |
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | Update access to the page is required |
| NotFound | 404 | The requested file could not be found |
| Ok | 200 | The request completed successfully |
None
This feature works in exactly same way DELETE:/files/{fileid} does. A doubly encoded filename could be appended to the end of the path for sanity check or other purposes. Note that only the {fileid} parameter is of importance when deleting a file. The {filename} parameter is not used at all, and so does not need to match the existing file.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by