Rate Limiting: Dynamic Rate Limiting
Route::middleware('auth:api', 'throttle:rate_limit,1')->group(function () {
Route::get('/user', function () {
//
});
}); You may specify a dynamic request maximum based on an attribute of the authenticated User model.
Semantic portal