curl --request POST \
--url https://test.deribit.com/api/v2/private/remove_from_address_book \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 42,
"method": "private/remove_from_address_book",
"params": {
"currency": "BTC",
"type": "transfer",
"address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf0uyj"
}
}'{
"jsonrpc": "2.0",
"id": 42,
"result": "ok"
}private/remove_from_address_book
Removes an entry from the address book. This method allows you to delete a saved address that is no longer needed.
Coinbase wallet type
For Coinbase wallet type accounts the required parameters are currency (portfolio currencies or "all") and type, plus one of address or id (the entry identifier returned by private/get_address_book). Use network and tag together with address to disambiguate entries sharing the same address.
📖 Related Article: Managing Withdrawals
Scope: wallet:read_write
curl --request POST \
--url https://test.deribit.com/api/v2/private/remove_from_address_book \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 42,
"method": "private/remove_from_address_book",
"params": {
"currency": "BTC",
"type": "transfer",
"address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf0uyj"
}
}'{
"jsonrpc": "2.0",
"id": 42,
"result": "ok"
}Query Parameters
Address in currency format, it must be in address book. Required for legacy wallet type. Coinbase wallet type: required when id is not provided; use network and tag to disambiguate entries sharing the same address.
Address in proper format for currency
"bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf0uyj"
Blockchain network resource name (e.g. networks/ethereum-mainnet), for Coinbase wallet types. Available networks are returned by public/get_currencies in coinbase_networks. Requiredness depends on the operation. When resolving an existing address-book entry, it is optional if the entry resolves uniquely; it disambiguates an address present on multiple networks.
"networks/ethereum-mainnet"
Was this page helpful?