You are here

public function ZoomAPIUser::permanentdelete in Zoom API 7

Delete User Permanently.

Parameters

array $user_identification: 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 257
User classes for Zoom API.

Class

ZoomAPIUser
Zoom API User Class.

Code

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