func (u *UsersClient) VerifyEmail(ctx context.Context, verifyCode string) error {
	verify := apitypes.VerifyEmail{
		Code: verifyCode,
	}
	req, _, err := u.client.NewRequest("POST", "/users/verify", nil, &verify, true)
	if err != nil {
		return err
	}

	_, err = u.client.Do(ctx, req, nil, nil, nil)
	if err != nil {
		return err
	}

	return nil
}
// VerifyEmail will confirm the user's email with the registry
VerifyEmail will confirm the user's email with the registry
// VerifyEmail will confirm the user ' s email with the registry
func (u *UsersClient) VerifyEmail(ctx context.Context, verifyCode string) error {
	verify := apitypes.VerifyEmail{
		Code: verifyCode,
	}
	req, _, err := u.client.NewRequest("POST", "/users/verify", nil, &verify, true)
	if err != nil {
		return err
	}
	_, err = u.client.Do(ctx, req, nil, nil, nil)
	if err != nil {
		return err
	}
	return nil
}
func ( u * UsersClient ) VerifyEmail ( ctx context . Context , verifyCode string ) error { verify := apitypes . VerifyEmail { Code : verifyCode , } req , _ , err := u . client . NewRequest ( " " , " " , nil , & verify , true ) if err != nil { return err } _ , err = u . client . Do ( ctx , req , nil , nil , nil ) if err != nil { return err } return nil }
VerifyEmail will confirm the user's email with the registry
VerifyEmail will confirm the user ' s email with the registry