Trợ giúp về API MediaWiki
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, and you should not use it. Its operation may change without notice.
- Mô đun này cần quyền đọc.
- Mô đun này cần quyền ghi.
- Mô đun này chỉ có nhận các yêu cầu POST.
- 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.
Các tham số:
Other general parameters are available.
- 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.
Các ví dụ:
- Delete the reading list with ID 11.
- api.php?action=readinglists&command=delete&list=11&token=123ABC [open in sandbox]
- Delete multiple lists.
- api.php?action=readinglists&command=delete&batch=%5B%7B%22list%22%3A11%7D%2C%7B%22list%22%3A12%7D%5D&token=123ABC [open in sandbox]