⧼api-help-title⧽
action=delete
(main | delete)
- ⧼api-help-flag-readrights⧽
- ⧼api-help-flag-writerights⧽
- ⧼api-help-flag-mustbeposted⧽
- ⧼api-help-source⧽
- ⧼api-help-license⧽
- title
- ⧼apihelp-delete-param-title⧽
- pageid
- ⧼apihelp-delete-param-pageid⧽
- Type: integer
- reason
- ⧼apihelp-delete-param-reason⧽
- tags
- ⧼apihelp-delete-param-tags⧽
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F):
- deletetalk
- ⧼apihelp-delete-param-deletetalk⧽
- Type: boolean
- watch
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-delete-param-watch⧽
- Type: boolean
- watchlist
- ⧼apihelp-delete-param-watchlist⧽
- One of the following values: nochange, preferences, unwatch, watch
- Default: preferences
- unwatch
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-delete-param-unwatch⧽
- Type: boolean
- oldimage
- ⧼apihelp-delete-param-oldimage⧽
- token
- ⧼api-help-param-token⧽
- This parameter is required.
- ⧼apihelp-delete-example-simple⧽
- api.php?action=delete&title=Main%20Page&token=123ABC ⧼api-help-open-in-apisandbox⧽
- ⧼apihelp-delete-example-reason⧽
- api.php?action=delete&title=Main%20Page&token=123ABC&reason=Preparing%20for%20move ⧼api-help-open-in-apisandbox⧽