API:Delete/da

Token
To delete a page, a CSRF token is required. The CSRF token is the same for all pages, but changes at every login. CSRF tokens can be obtained via  with   (MW 1.24+). For older versions, you can use or  to get an edit token.

Sletning af sider
Pages can be deleted with action=delete. In addition to the  right, other rights may be required, depending on the location and type of page. Deleting a user's  page, for example, also requires the   right.

Parametre
One of  or   must be set.



Mulige fejl
Udover det sædvanlige: