Last Updated: Aug 6, 2024
Overview
The Get Enrollments endpoint only returns the first confirmed authenticator. This article details how to retrieve all authenticators for a given user.
Applies To
- Multifactor Authentication (MFA)
- Factors
- Retrieve a list of all factors for one user
- APIs
Solution
To retrieve a list of all authentication methods associated with a specified user, use the following Management API Endpoint:
GET /api/v2/users/{id}/authentication-methods
The id parameter corresponds to the user’s ID.
When calling the Management API, the Access Token must contain the read:authentication_methods scope. If it does not, a 403 Forbidden error will be returned:
{
"statusCode": 403,
"error": "Forbidden",
"message": "Insufficient scope, expected any of: read:authentication_methods",
"errorCode": "insufficient_scope"
}