You are here

public function ZoomAPIMeeting::delete in Zoom API 7

Delete Meeting.

Parameters

string $meeting_id: The zoom provided meeting ID.

string $host_zoom_user_id: The zoom user ID of the meeting host.

string $occurrence_id: Optional meeting occurrence ID for use with recurring meetings.

Return value

array An array of the transaction metadata.

File

includes/zoomapi.meeting.classes.inc, line 59
Meeting classes for Zoom API.

Class

ZoomAPIMeeting
Zoom API Meeting Class.

Code

public function delete($meeting_id, $host_zoom_user_id, $occurrence_id = NULL) {
  $data = [
    'id' => $meeting_id,
    'host_id' => $host_zoom_user_id,
  ];
  if ($occurrence_id) {
    $data['occurrence'] = $occurrence_id;
  }
  return $this
    ->sendRequest('meeting/delete', $data);
}