delete https://{baseUrl}/V1/admin/customer/
Use endpoint to delete a customer.
Sample Curl
curl --location --request DELETE 'https://mygatewayurl.com/V1/admin/customer/22 --header 'Content-Type: application/json' --header 'Authorization: Bearer 5rc13h8f5i454wbstupq85ed3g87zw85'