How to delete customer by REST Web API Magento 2?

Customer Delete using REST Web API in Magento 2 comes with URL endpoint  V1/customers/:customerId and DELETE Action.

You need to replace  :customerId in the URL with the actual customer id.

Get Customer Default Billing address by REST Webapi V1/customers/:customerId/billingAddress Magento.

To Retrieve Customer Default Shipping address by REST Webapi in Magento using Endpoint /V1/customers/:customerId/shippingAddress

Just Change the :customerId from the Endpoint with an Original customer ID to fetch the Shipping address of the Customer.

Get Default Billing address by Webapi V1/customers/:customerId/billingAddress Magento.

Get Customer Default Billing address by Webapi in Magento using Endpoint /V1/customers/:customerId/billingAddress

Replace :customerId with an Original customer ID to fetch the Billing address of the Customer.