Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

An API creator blocks subscription to an API as a way of disabling access to it and managing its usage and monetization. Once blocked, the API cannot be invoked by either the consumers or the creator. A A blocking can be temporary or permanent. You block APIs by subscriptions. For exampleThat is, if a user is subscribed to two APIs using the same application, you can block subscription access to one of the APIs only. The user can continue to invoke other APIs subscribed to using the same application, or the same API subscribed to using different applications. There is also a unblock facility to allow API invocations back. Blocking can be done in two levels:

...

When API Gateway caching is enabled (it is enabled by default), even after blocking a subscription, consumers might still be able to access APIs until the cache expires. If you want a blocking to be effective immediately, you can restart the server. That will refresh the cache, which happens approximately every about 15 minutes.

Note

See the following topics for a description of the concepts that you need to know when you block subscriptions to an API:

...