You are here

public function ZoomAPIUser::assistantDelete in Zoom API 7

Delete User Assistant.

Parameters

array $host: At least one of the following must be provided. If the zoom_user_id is provided the the email is ignored.

  • zoom_user_id: The host Zoom user ID.
  • email: The host Zoom user email address.

Return value

array An array containing transaction metadata.

File

includes/zoomapi.user.classes.inc, line 234
User classes for Zoom API.

Class

ZoomAPIUser
Zoom API User Class.

Code

public function assistantDelete(array $host) {
  if (!empty($host['zoom_user_id'])) {
    $data['id'] = $host['zoom_user_id'];
  }
  else {
    $data['host_email'] = $host['email'];
  }
  return $this
    ->sendRequest('user/assistant/delete', $data);
}