public function updateRole($roleUuid, array $permissions)
    {
        $options = [
            'form_params' => [
                'permissions' => $permissions,
            ],
        ];

        return new OperationResponse(
            $this->connector->request('put', "/roles/${roleUuid}", $this->query, $options)
        );
    }
public function updateRole($roleUuid, array $permissions)
    {
        $options = [
            'form_params' => [
                'permissions' => $permissions,
            ],
        ];

        return new OperationResponse(
            $this->connector->request('put', "/roles/${roleUuid}", $this->query, $options)
        );
    }
public function updateRole ( $ roleUuid , array $ permissions ) { $ options = [ 'form_params' => [ 'permissions' => $ permissions , ] , ] ; return new OperationResponse ( $ this -> connector -> request ( 'put' , "/roles/${roleUuid}" , $ this -> query , $ options ) ) ; }
Update the permissions associated with a role.

@param string $roleUuid
@param array  $permissions
@return OperationResponse
Update the permissions associated with a role .