i use this in php . to create room, how could i delete room with this ?
function addLessonOnZoom($title,$start_at,$duration=null){
$api_secret = '';
$api_key = '';
$payload = array(
'iss' => $api_key,
'exp' => (time() + 260),
'topic' => $title,
"type" => 2,
"start_time" => $start_at,
"duration" => $duration,
"password" => "121212",
"host" => "fred",
);
$jwt = '..-';
$client = new \GuzzleHttp\Client(['base_uri' => 'https://api.zoom.us/v2/']);
$headers = [
'Authorization' => 'Bearer ' . $jwt,
'Accept' => 'application/json',
'content-type' => 'application/json',
];
$response = $client->request('POST', 'users/me/meetings', [
'json' => $payload,
'headers' => $headers,
'http_errors' => false,
'Content-Type' => "application/json",
'Accept' => '*/*',
])->getBody()->getContents();
$res = (array) json_decode($response);
return $res ;
}