Part3 Developers

Users revert mfa

POST /users/{userId}/revert-mfa

Revert MFA enrollment for a user

POST
/users/{userId}/revert-mfa
AuthorizationBearer <token>

In: header

Path Parameters

userId*string

Part3 user UID (Firebase Auth UID).

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.part3.io/v1/users/user_99a8b7c6d5/revert-mfa"
{
  "message": "Removed 1 MFA factor(s)",
  "auth": {
    "hadMfa": true,
    "factorCount": 1
  },
  "firestore": {
    "orgsUpdated": 2,
    "projectsUpdated": 14,
    "directoryUpdated": 1
  }
}
{
  "error": "User not found"
}
{
  "error": "User not found"
}
{
  "error": "User not found"
}