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.
3x Magento Master
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.
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 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.