Delete an Account Address
DELETEhttps://useast.api.elasticpath.com/v2/accounts/:accountID/addresses/:addressID
Delete a specific account within a store
Request
Path Parameters
accountID stringrequired
The ID of the account that contains the address to delete.
addressID stringrequired
The ID of the address to delete.
Responses
- 204
- 404
No Content
Not Found
- application/json
- Schema
- Example (from schema)
- not-found-error
Schema
errors Error[]required
{
"errors": [
{
"status": "string",
"title": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"status": "404",
"title": "Not Found",
"detail": "account not found"
}
]
}
Authorization: http
name: BearerTokentype: httpscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://useast.api.elasticpath.com/v2/accounts/:accountID/addresses/:addressID' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear