File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Sources/Appwrite/Services Expand file tree Collapse file tree 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 {
12351235 method: " DELETE " ,
12361236 path: apiPath,
12371237 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+ )
12391262 }
12401263
12411264 ///
You can’t perform that action at this time.
0 commit comments