Is there a way to delete an unlinked/orphaned address via the REST API?

After unlinking an address from a user, there is an address in the addresses table that is orphaned - i.e. it does not have a linked user. This is the expected behaviour (I think) - that’s fine, no problems at this point.
However, I can’t see a way to delete these addresses via the REST API. Does one exist? Should it exist? Perhaps so - without it there’s no way to delete orphaned email addresses.
thanks
as

On Feb 05, 2015, at 11:55 AM, Andrew Stuart wrote:
After unlinking an address from a user, there is an address in the addresses table that is orphaned - i.e. it does not have a linked user. This is the expected behaviour (I think) - that’s fine, no problems at this point.
Correct.
However, I can’t see a way to delete these addresses via the REST API. Does one exist? Should it exist? Perhaps so - without it there’s no way to delete orphaned email addresses.
Right. I just added a DELETE method for addresses.
Note that if the address is linked to a user, the user is not deleted, it's just unlinked.
Cheers, -Barry
participants (2)
-
Andrew Stuart
-
Barry Warsaw