Manual:$wgEnableWriteAPI

Details
Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorised user accesses it.