Sliding window 5 requests per minutev3.9+

Configure the plugin to set a rate limit of 5 requests per minute.

Set up the plugin

Add this section to your declarative configuration file:

_format_version: "3.0"
plugins:
  - name: service-protection
    config:
      window_size:
      - 60
      window_type: sliding
      limit:
      - 5
      namespace: example_namespace
Copied to clipboard!

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!