Email Enrollments are not returned from the endpoint /users/{id}/enrollments

In our application, users can authenticate using email instead of app or sms. For enrolling a user with email we followed Enroll and Challenge Email Authenticators.

We are now implementing a feature where a user can reset their mfa (not using Auth0 dashboard). In the management api there are the following endpoints

  • GET /api/v2/users/{id}/enrollments
  • DELETE /api/v2/guardian/enrollments/{enrollment_id}

Those endpoints work perfectly if a user were enrolled with the Guardian app or SMS. But if a user is enrolled with email, the GET /api/v2/users/{id}/enrollments does not return the email enrollment.

What is the suggested approach for removing an email enrollment, including the recovery code via API?