deleteExternalAccountWithHttpInfo method
Delete External Account
Delete an external account by ID.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<http.Response> deleteExternalAccountWithHttpInfo(
String userId,
String externalAccountId,
) async {
// ignore: prefer_const_declarations
final path = r'/users/{user_id}/external_accounts/{external_account_id}'
.replaceAll('{user_id}', userId)
.replaceAll('{external_account_id}', externalAccountId);
// 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,
);
}