Create Tier
Rate Limits
Create Tier
Create a new rate limit tier (admin only)
POST
Create Tier
Authentication
Bearer token:
Bearer <admin_token>Request Body
Tier name (e.g., “client”, “server”, “premium”)
Maximum requests allowed per window
Time window in seconds
Whether this tier is active
Example Request
Response
Only one tier of each name can be active at a time. Activating a new tier may deactivate existing ones.
Errors
| Status | Description |
|---|---|
| 400 | Invalid request body |
| 401 | Invalid or expired token |
| 403 | Admin access required |
| 409 | Tier already exists |

