---
title: "Reset all rate limits across the system."
method: POST
path: "/api/v1/rate-limit/reset"
---

# Reset all rate limits across the system.

`POST /api/v1/rate-limit/reset`

**Access**: Restricted to users with `role: "SUPERADMIN"`
**Purpose**: Clears all current rate limit counters - useful for emergency
  situations or testing

**Request**: No request body required

**Success Response Schema**:
```json
{
  "message": "All rate limits have been reset."
}
```

**Use Cases**:
- Emergency situations where legitimate users are being rate limited
- Testing and development environments
- After configuration changes to rate limiting policies
- System maintenance and debugging

**Behavior**:
- Clears all rate limit counters from storage (Redis/Memory)
- Affects all endpoints and all users/IP addresses
- Does not disable rate limiting - new requests will start fresh counters
- Operation is immediate and irreversible

**Error Responses**:
- `403 Forbidden`: User does not have SUPERADMIN privileges
- `401 Unauthorized`: Valid JWT token required
- `500 Internal Server Error`: Failed to reset rate limits

## Request body

- object

## Response `200`

Success

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/trends/apis/trends-earth-api.md) · [All operations](https://skmtc.dev/trends/apis/trends-earth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trends/trends-earth-api/revisions/6bdbc0b84666/schema)
