Skip to content

Commit f624b05

Browse files
authored
Merge branch 'main' into dev
2 parents 2186d83 + feef4c8 commit f624b05

File tree

1 file changed

+19
-0
lines changed
  • src/main/kotlin/io/appwrite/services

1 file changed

+19
-0
lines changed

src/main/kotlin/io/appwrite/services/Users.kt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,25 @@ class Users(client: Client) : Service(client) {
11461146
)
11471147
}
11481148

1149+
/**
1150+
* Delete authenticator
1151+
*
1152+
* Delete an authenticator app.
1153+
*
1154+
* @param userId User ID.
1155+
* @param type Type of authenticator.
1156+
* @return [io.appwrite.models.User<T>]
1157+
*/
1158+
@Throws(AppwriteException::class)
1159+
suspend fun deleteMfaAuthenticator(
1160+
userId: String,
1161+
type: io.appwrite.enums.AuthenticatorType,
1162+
): io.appwrite.models.User<Map<String, Any>> = deleteMfaAuthenticator(
1163+
userId,
1164+
type,
1165+
nestedType = classOf(),
1166+
)
1167+
11491168
/**
11501169
* List factors
11511170
*

0 commit comments

Comments
 (0)