Getting error while deleting a meeting in PHP

Always getting {“code”:124,“message”:“Invalid access token.”} at the time of deleting a meeting from JWT.

$request_url = ‘https://api.zoom.us/v2/meetings/’.$meeting_id;
$headers = array(
“authorization:Bearer {$token}”,
‘content-type: application/json’
);
$postFields = array();
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $request_url);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “DELETE”);
$result = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
$err = curl_error($ch);
curl_close($ch); print_r($response);
if(!$response){
return $err;
}
return json_decode($response);

Hey @vinod.tamada,

Can you confirm that the meeting you’re trying to delete is associated with the account under which your JWT credentials are associated with? If you can share the account number and meeting ID, I’m happy to take a closer look.

Thanks,
Will