get('users/me'); } /** * Creates a new user on behalf of the current user. * * @param array $parameters * * @return Result */ public function createUser(array $parameters): Result { return $this->post('v2/users', $parameters); } /** * Checks if the given email exists. * * @param string $email * * @return Result */ public function isEmailExisting(string $email): Result { return $this->post('v2/users/check-email', [ 'email' => $email, ]); } }