userWeb3WalletDeleteWithHttpInfo method

Future<Response> userWeb3WalletDeleteWithHttpInfo(
  1. String userId,
  2. String web3WalletIdentificationId
)

Delete a user web3 wallet

Delete the web3 wallet identification for a given user.

Note: This method returns the HTTP Response.

Parameters:

  • String userId (required): The ID of the user that owns the web3 wallet

  • String web3WalletIdentificationId (required): The ID of the web3 wallet identity to be deleted

Implementation

Future<http.Response> userWeb3WalletDeleteWithHttpInfo(
  String userId,
  String web3WalletIdentificationId,
) async {
  // ignore: prefer_const_declarations
  final path =
      r'/users/{user_id}/web3_wallets/{web3_wallet_identification_id}'
          .replaceAll('{user_id}', userId)
          .replaceAll(
              '{web3_wallet_identification_id}', web3WalletIdentificationId);

  // 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,
  );
}