What is the correct way to reset all MFA enrollments for a user ?
Can I use DELETE /api/v2/users/{id}/authenticators endpoint for this ?
Thanks @pratyush.pandey
But this API not return all methods
I have a test user with two MFAs
But API only return bellow response
[
{
“id”: “totp|dev_fHUBYxYS5Cja18zA”,
“type”: “totp”,
“confirmed”: true,
“created_at”: “2024-10-31T04:53:49.185Z”,
“last_auth_at”: “2024-10-31T04:55:40.515Z”
}
]
Also when I use /api/v2/users/{userId}/authenticators API it returns all methods
[
{
“id”: “email|dev_UoYMg8RRQIcMz6DW”,
“type”: “email”,
“confirmed”: true,
“name”: “gand******@veri***********”,
“created_at”: “2024-10-31T04:39:39.000Z”
},
{
“id”: “totp|dev_YAnfIlYvEHeTu6e3”,
“type”: “totp”,
“confirmed”: false,
“created_at”: “2024-10-31T04:49:54.000Z”
},
{
“id”: “totp|dev_fHUBYxYS5Cja18zA”,
“type”: “totp”,
“confirmed”: true,
“created_at”: “2024-10-31T04:53:49.000Z”,
“last_auth_at”: “2024-10-31T04:55:40.000Z”
}
]
Can I know the difference of these endpoints ?
api/v2/users/{userId}/authentication-methods
/api/v2/users/{userId}/authenticators