public function renameEnvironment($environmentUuid, $label)
    {

        $options = [
            'form_params' => [
                'label' => $label,
            ],
        ];

        return new OperationResponse(
            $this->connector->request(
                'post',
                "/environments/${environmentUuid}/actions/change-label",
                $this->query,
                $options
            )
        );
    }
public function renameEnvironment($environmentUuid, $label)
    {

        $options = [
            'form_params' => [
                'label' => $label,
            ],
        ];

        return new OperationResponse(
            $this->connector->request(
                'post',
                "/environments/${environmentUuid}/actions/change-label",
                $this->query,
                $options
            )
        );
    }
public function renameEnvironment ( $ environmentUuid , $ label ) { $ options = [ 'form_params' => [ 'label' => $ label , ] , ] ; return new OperationResponse ( $ this -> connector -> request ( 'post' , "/environments/${environmentUuid}/actions/change-label" , $ this -> query , $ options ) ) ; }
Renames an environment.

@param string $environmentUuid
@param string $label
@return OperationResponse
Renames an environment .