Skip to main content
DELETE
/
v1
/
wallets
Unregister Wallet
curl --request DELETE \
  --url https://api.lasersell.io/v1/wallets \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "wallet_pubkey": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
}
'
{
  "wallet_pubkey": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
  "removed": true
}

Authorizations

x-api-key
string
header
required

Your LaserSell API key. Obtain one from the LaserSell dashboard.

Body

application/json
wallet_pubkey
string
required

Solana wallet public key to unregister (base58).

Example:

"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"

Response

Wallet unregistered successfully.

wallet_pubkey
string
required

The unregistered wallet public key.

Example:

"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"

removed
boolean
required

Whether the wallet was successfully removed.

Example:

true