You are here

public function ZoomAPIUser::custcreate in Zoom API 7

Create Custom User.

A Zoom user account without a password. Users are not able to log into the Zoom app or website with this account.

Parameters

string $email: The email to assign to the account.

int $type: The type of account to create:

  • 1: Basic user.
  • 2: Pro user.
  • 3: Corp user.

array $options: An array of the optional user configuration options.

Return value

array The created user account.

File

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

Class

ZoomAPIUser
Zoom API User Class.

Code

public function custcreate($email, $type, $options = []) {
  $options['email'] = $email;
  $options['type'] = $type;
  return $this
    ->sendRequest('user/custcreate', $options);
}