userPasskeyDeleteWithHttpInfo method
Delete a user passkey
Delete the passkey identification for a given user and notify them through email.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<http.Response> userPasskeyDeleteWithHttpInfo(
String userId,
String passkeyIdentificationId,
) async {
// ignore: prefer_const_declarations
final path = r'/users/{user_id}/passkeys/{passkey_identification_id}'
.replaceAll('{user_id}', userId)
.replaceAll('{passkey_identification_id}', passkeyIdentificationId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}