Translations:API:Restricting API usage/4/en

You can disable the API as a whole by setting $EnableAPI in $LocalSettings.