How to change ratelimit in strapi v4?

For my tests I want to disable ratelimit (or increase to 10000).
Can you help me please?

1 Like

The error: {‘id’: ‘Auth.form.error.ratelimit’, ‘message’: ‘Too many attempts, please try again in a minute.’}

I think you can change the rate limit in config/api.js, if that’s what you’re looking for

I found it:

// path: ./config/plugins.js

module.exports = ({ env }) => ({
  'users-permissions': {
    config: {
      ratelimit: {
        interval: 60000,
        max: 100000
      }
    }
  }
});
2 Likes

nice, was looking for this!