public function replaceGroup($groupId, Api\GroupCreate $group)
    {
        $json = Serialize::group($group);
        $result = $this->_put($this->_groupUrl($groupId), $json);
        return Deserialize::groupResponse($result);
    }
public function replaceGroup($groupId, Api\GroupCreate $group)
    {
        $json = Serialize::group($group);
        $result = $this->_put($this->_groupUrl($groupId), $json);
        return Deserialize::groupResponse($result);
    }
public function replaceGroup ( $ groupId , Api \ GroupCreate $ group ) { $ json = Serialize :: group ( $ group ) ; $ result = $ this -> _put ( $ this -> _groupUrl ( $ groupId ) , $ json ) ; return Deserialize :: groupResponse ( $ result ) ; }
Replaces the group with the given group identifier.

@param string          $groupId identifier of the group
@param Api\GroupCreate $group   new group description

@return Api\GroupResult the group after replacement
Replaces the group with the given group identifier .