You are here

public function ZoomAPIUser::delete in Zoom API 7

Delete User.

Parameters

string $zoom_user_id: The user ID generated when the user account was created.

int $type: Optional value to indicate existing or pending user.

  • 0: Existing user (default).
  • 1: Pending user.

Return value

array See api documentation.

File

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

Class

ZoomAPIUser
Zoom API User Class.

Code

public function delete($zoom_user_id, $type = 0) {
  $data = [
    'id' => $zoom_user_id,
    'type' => $type,
  ];
  return $this
    ->sendRequest('user/delete', $data);
}