With governance rules, you can create rules that automatically enforce quotas or restrict access to your APIs. For example, if you are monetizing your API with a prepaid billing model, you can create a governance rule to block customers once they run out of credits or have a negative account balance. You can also use governance to protect your APIs such as to block scraping an abnormally large amount of data from your API.
Besides restricting access, you can also leverage governance to add HTTP headers, and more such as deprecation warning headers when customers access an old version of your API.
Governance rules work by interacting with the Moesif SDK or plugin to block or modify the response on the fly.
Besides installing the SDK, no other action is needed for governance to work. Governance rules is not limited to making decisions from just API requests. You can add governance rules based on any customer demographics or behavior tracked by Moesif such as to block customers with overdue invoices or to add paywalls to your API.