File tree 1 file changed +24
-1
lines changed
Sources/Appwrite/Services
1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -1235,7 +1235,30 @@ open class Users: Service {
1235
1235
method: " DELETE " ,
1236
1236
path: apiPath,
1237
1237
headers: apiHeaders,
1238
- params: apiParams )
1238
+ params: apiParams,
1239
+ converter: converter
1240
+ )
1241
+ }
1242
+
1243
+ ///
1244
+ /// Delete authenticator
1245
+ ///
1246
+ /// Delete an authenticator app.
1247
+ ///
1248
+ /// @param String userId
1249
+ /// @param AppwriteEnums.AuthenticatorType type
1250
+ /// @throws Exception
1251
+ /// @return array
1252
+ ///
1253
+ open func deleteMfaAuthenticator(
1254
+ userId: String ,
1255
+ type: AppwriteEnums . AuthenticatorType
1256
+ ) async throws -> AppwriteModels . User < [ String : AnyCodable ] > {
1257
+ return try await deleteMfaAuthenticator (
1258
+ userId: userId,
1259
+ type: type,
1260
+ nestedType: [ String : AnyCodable ] . self
1261
+ )
1239
1262
}
1240
1263
1241
1264
///
You can’t perform that action at this time.
0 commit comments