#67 API: Manage Rate Limits
Description
EditImplement endpoints to configure rate limiting per tenant.
Endpoints:
- GET /api/v1/security/rate-limits - Get current rate limit settings
- PATCH /api/v1/security/rate-limits - Update rate limit settings
Rate Limit Settings:
- api_requests_per_minute: int (default: 60)
- api_requests_per_hour: int (default: 1000)
- workflow_submissions_per_hour: int (default: 100)
- login_attempts_per_minute: int (default: 5)
- token_generations_per_day: int (default: 10)
Required Permissions: tenant_admin or system_admin
Implementation Requirements:
- Validate limits are reasonable
- system_admin can override any limit
- tenant_admin bounded by system limits
- Real-time enforcement
- Return current usage with limits
With ultra attention to details and correctness.
Before closing: write comment summarizing implementation with screenshot.
Comments
Loading comments...
Context
Loading context...
Audit History
View AllLoading audit history...