DeleteFile

This function deletes a file from the wiki. You must have moderator level access to the wiki and the file must exist for this call to succeed.

Request Parameters

file
Specifies what new file you'd like to delete. If the file doesn't exist, the function will fail with a 404. Since it is a GET parameter, it must be URI encoded.

Responses

The response will indicate the success or failure of the page deletion. Upon success, "deleted" will be set to "absolutely".

Example

REQUEST

http://YOURWIKI.pbwiki.com/api/json/DeleteFile?apikey_v1=12345&file=somefile.txt

RESPONSE

{ "v1": {
  "deleted": "absolutely"
}}


Page Information

  • 1 year ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts