Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The team ID
Response
if (! $request->user()->hasTeamPermission($team, 'team:management')) { return response()->json(['message' => 'Action not allowed'], 403); }