public function createTeamInvite($teamUuid, $email, $roles)
    {
        $options = [
            'form_params' => [
                'email' => $email,
                'roles' => $roles
            ],
        ];

        return new OperationResponse(
            $this->connector->request('post', "/teams/${teamUuid}/invites", $options)
        );
    }
public function createTeamInvite($teamUuid, $email, $roles)
    {
        $options = [
            'form_params' => [
                'email' => $email,
                'roles' => $roles
            ],
        ];

        return new OperationResponse(
            $this->connector->request('post', "/teams/${teamUuid}/invites", $options)
        );
    }
public function createTeamInvite ( $ teamUuid , $ email , $ roles ) { $ options = [ 'form_params' => [ 'email' => $ email , 'roles' => $ roles ] , ] ; return new OperationResponse ( $ this -> connector -> request ( 'post' , "/teams/${teamUuid}/invites" , $ options ) ) ; }
Invites a user to join a team.

@param string $teamUuid
@param string $email
@param array  $roles
@return OperationResponse
Invites a user to join a team .