Skip to main content

Delete Withdrawal Addresses

POST /addresses/:addr_id/delete

Delete a specified address by address :addr_id.

Endpoint URL

 https://api.mixin.one/addresses/:addr_id/delete

Authentication and options

Authorization
Authorized
LimitationNo limitation

Parameters

addr_id
*required
the address' id which you are deleting

Payload

{
"pin": "encrypted PIN",
}

Example request

curl -i -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" https://api.mixin.one/addresses/ba3a2e33-efde-40b9-9cac-c293f0d1a3f2/delete --data '{"pin":"d2EJy5kmt56d3U5PeKm+TJLBnXBuyxBTcWxytL8pk/LXwJEak9r8iVMcASjgvoO+"}'

Payload

{
"pin_base64": "encrypted PIN",
}

how to generate TIP Pin

"TIP:ADDRESS:REMOVE:" + address_id

pin_base64 is the sha256-256 sum of above value
Response
{}

The above will return an empty json on success.

info

There is no API for editing withdrawal addresses. If you want to implement editing in your product, please first delete and then add.