Rate limits on Users API
- Tier: Free, Premium, Ultimate
- Offering: GitLab Self-Managed
You can configure the per user rate limit for requests to Users API.
To change the rate limit:
- On the left sidebar, at the bottom, select Admin.
- Select Settings > Network.
- Expand Users API rate limit.
- In the Maximum requests per 10 minutes text box, enter the new value.
- Optional. In the Users to exclude from the rate limit box, list users allowed to exceed the limit.
- Select Save changes.
This limit is:
- Applied independently per user.
- Not applied per IP address.
The default value is 300
.
Requests over the rate limit are logged into the auth.log
file.
For example, if you set a limit of 300, requests to the GET /users/:id
API endpoint
exceeding a rate of 300 per 10 minutes are blocked. Access to the endpoint is allowed after ten minutes have elapsed.
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support