User Address .: Delete

API Reference / v15

Delete an Address for a User

This endpoint allows you to delete a particular address for a user. To delete an address, you must have a user access token with the manage_user_addresses permission.

Request Endpoint

DELETE /v15/user_addresses/:id

Authorization Required – User Token in Header

Authorization: token user="123897-99SCvr3kSe3TqqQid3DyPXfo2Kq98MyhF6CaNPqoDeMhJ18Uopq19uddcznu6R"

cURL Example

curl -X DELETE -H Accept:application/json -H Content-Type:application/json -H 'Authorization:token user="123897-99SCvr3kSe3..."'

Example Response

HTTP/1.1 204 No Content

The address was not found

HTTP/1.1 404 Not Found