For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Swift: Delete a factor for a user

Delete an MFA factor of a user.

Examples

Delete a user's factor

try await admin.mfa.deleteFactor(
  id: UUID(uuidString: "34e770dd-9ff9-416c-87fa-43b31d7ef225")!,
  forUser: UUID(uuidString: "715ed5db-f090-4b8c-a067-640ecee36aa0")!
)