Delete wiki pages
To delete a wiki page, use the HTTP DELETE method.Only the owner of a wiki page can delete it. Deleted wiki pages cannot be restored.
See Authenticating requests for information about how to authenticate the request.
Table 1. Atom API request details
Method Resource URI Input and output representations DELETE Wiki definition atom entry Determine the resource URI in either of the following ways:
- The web address in the href attribute of the rel=edit link element for each wiki page Atom entry, which are provided in the wiki pages collection.
- You can construct the URI using the following syntax: /basic/api/wiki/{wiki-label}/page/{page-label}/entry where {wiki-label} is the value of the <td:label> element in the wiki definition Atom entry document and {page-label} is the value of the <td:label> element in the wiki page Atom document.
none
Input
None.
Output
None.Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the wiki page was successfully deleted (and no content is returned).
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Parent topic
Work with wiki pagesRelated reference
Wiki page content
});