How to delete customer addresses by REST Web API Magento 2?

Customer Addresses is an integral part for any eCommerce store to deliver customer’s order item.

Sometimes you need to delete a given customer address from the customer account using the WebAPI.

Magento REST Web API provides the Out of the box feature to delete customer addresses by their Id.

You have to pass Header as Admin Token to delete customer addresses in Magento.

EndPoint URL: <HOST_URL>/rest/V1/addresses/:addressId
(Link, http://127.0.0.1/magento24/rest/V1/addresses/1)
Where 1 is the customer address id to delete.

Action: DELETE

Header: Authorization Bearer <Admin_TOKEN>

Get Admin Token in Web API using the given link you can generate Admin Token.

Payload Body: None

Response: True/False

Once the response is successful, Your address is deleted from the Customer. Customer Address Id is removed from the customer_address_entity table.