-
Notifications
You must be signed in to change notification settings - Fork 10
PatchRatelimit
Robin B edited this page Mar 13, 2020
·
1 revision
Modify the amount of clicks that can be sent from each unique IP every minute.
Key | Value |
---|---|
Content-Type | application/x-www-form-urlencoded |
Key | Description | Format | Example |
---|---|---|---|
ratelimit | The amount of clicks a specific IP can send in one minute before being ratelimited until next minute | Integer | 10000 |
Set -1
as value for ratelimit
to disable the limit and allow unlimited clicks/requests.
Otherwise, ratelimit
must be any integer above 0.
Key | Description | Format | Example |
---|---|---|---|
--- | ----------- | ------ | ------- |
/admin/config/ratelimit
with:
- ratelimit
10000
Output:
{
"code": 200,
"message": "Click ratelimit successfully updated",
"ratelimit": 10000
}