MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

command=delete

(main | readinglists | delete)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: ReadingLists
  • License: GPL-2.0-or-later

Delete a list belonging to the current user.

Deleted lists remain available for some amount of time through the readinglists and readinglistentries modules (via the changedsince parameter). There is no way to undelete.

Parameters:
list

List ID. Required unless doing batch deletion.

Type: integer
batch

Batch data for deleting multiple lists in a single request, in the form of a JSON array with one or more objects with a list field.