Skip to main content

deleteUserWeb3Wallet()

Deletes a Web3 wallet identification for the given user.

Returns the DeletedObject object.

function deleteUserWeb3Wallet(params: DeleteWeb3WalletParams): Promise<DeletedObject>
  • Name
    userId
    Type
    string
    Description

    The ID of the user to delete the Web3 wallet for.

  • Name
    web3WalletIdentificationId
    Type
    string
    Description

    The ID of the Web3 wallet identification to delete.

Note

Using clerkClient varies based on the SDK you're using. Refer to the overview for usage details, including guidance on how to access the userId and other properties.

const userId = 'user_123'
const web3WalletIdentificationId = 'web3_wallet_identification_123'

const response = await clerkClient.users.deleteUserWeb3Wallet({
  userId,
  web3WalletIdentificationId,
})

Backend API (BAPI) endpoint

This method in the SDK is a wrapper around the BAPI endpoint DELETE/users/{user_id}/web3_wallets/{web3_wallet_identification_id}. See the BAPI reference for more information.

Feedback

What did you think of this content?

Last updated on