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