How can I delete a customer's default address using API?

Hi,

If the customer has multiple addresses and I am trying to delete using the Shopify API a default address, it returns an error that says “unable to delete, you are deleting a default address”, so what I do is to change another address as the default before I call the delete address and this is successful. However, the issue is if the customer only has one address and it’s automatically set to default, I can’t delete this via the API. From my observations in the web, it’s possible? What are my alternatives for this.

Thanks,

Jason