Delete an Account
DELETEhttps://useast.api.elasticpath.com/v2/accounts/:accountID
Delete a specific account within a store
Request
Path Parameters
accountID stringrequired
The ID of the account you want to retrieve.
Responses
- 204
- 404
- default
No Content
Not Found
- application/json
- Schema
- Example (from schema)
- not-found-error
Schema
errors Error[]required
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "Not Found",
"status": "404",
"detail": "account not found"
}
]
}
Internal server error.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
errors Error[]required
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
Internal server error
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}
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' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear