API:Restricting API usage

There are several ways to restrict usage of (certain parts of) the API to certain groups of users, or to disable it altogether. Some of these require changing group permissions.

Disabling the write API
You can disable all write modules by setting  in LocalSettings.php. The write API is enabled by default as of MediaWiki 1.14, and disabled by default in older versions.