Delete an address

Deleting an address from the address book

Delete an address

POSThttps://ocp.onchainpay.io/api-gateway/address-book/remove
Header parameters
Body
addressIdstring

The ID of the address in the system

Response
Body
success*boolean

Request success indicator

response*null
Request
const response = await fetch('https://ocp.onchainpay.io/api-gateway/address-book/remove', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false
}

Last updated