I'm using a script that create events with something like that:
$data = "<entry xmlns='http://www.w3.org/2005/Atom' " .
"xmlns:gd='http://schemas.google.com/g/2005'>
" .
"<category scheme='http://schemas.google.com/g/2005#kind' " .
"term='http://schemas.google.com/g/2005#event'></category>
" .
"<title type='text'>event title</title>
" .
"<content type='text'>event description</content>
" .
"<gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>" .
"</gd:transparency>
" .
"<gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>" .
"</gd:eventStatus>
" .
"<gd:where valueString='event address'></gd:where>" .
"<gd:when startTime='$date"."T$timestart:00.000+01:00' endTime='$date"."T$timeend:00.000+01:00'></gd:when>
" .
"</entry>
";
curl_setopt($cs, CURLOPT_URL, "https://www.google.com/calendar/feeds/default/private/full");
curl_setopt($cs, CURLOPT_POST, 1);
curl_setopt($cs,CURLOPT_HTTPHEADER,array('Accept: text/html,application/xhtml+xml,application/xml'));
curl_setopt($cs, CURLOPT_HEADER, 1);
curl_setopt($cs, CURLOPT_HTTPHEADER, $httpheader);
curl_setopt($cs, CURLOPT_POSTFIELDS, $data);
I can get the event ID but I don't know how to delete it then.
Thanks