app/Http/Controllers/API/TeamController.php
public function getTeamRoles()
    {
        $roles = [];

        foreach (Spark::roles() as $key => $value) {
            $roles[] = ['value' => $key, 'text' => $value];
        }

        return response()->json($roles);
    }
public function getTeamRoles()
    {
        $roles = [];

        foreach (Spark::roles() as $key => $value) {
            $roles[] = ['value' => $key, 'text' => $value];
        }

        return response()->json($roles);
    }
Get all of the available roles that may be assigned to team members.

@return \Illuminate\Http\Response