public function update(int $groupId, string $name)
    {
        $params = [
            'group_id' => $groupId,
            'group_name' => $name,
        ];

        return $this->httpPostJson('shakearound/device/group/update', $params);
    }
public function update(int $groupId, string $name)
    {
        $params = [
            'group_id' => $groupId,
            'group_name' => $name,
        ];

        return $this->httpPostJson('shakearound/device/group/update', $params);
    }
public function update ( int $ groupId , string $ name ) { $ params = [ 'group_id' => $ groupId , 'group_name' => $ name , ] ; return $ this -> httpPostJson ( 'shakearound/device/group/update' , $ params ) ; }
Update a device group name.

@param int    $groupId
@param string $name

@return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
Update a device group name .