---
title: "Delete the specified account, only allowed if the account is in the disabled state. All users will be deleted along with the account and all resources will be garbage collected"
method: DELETE
path: "/accounts/{accountname}"
tags: ["User Management"]
---

# Delete the specified account, only allowed if the account is in the disabled state. All users will be deleted along with the account and all resources will be garbage collected

`DELETE /accounts/{accountname}`

## Path parameters

- `accountname` string, required

## Response `204`

Successful deletion

## Other responses

- `500` — Internal error

---

[API](https://skmtc.net/banzaicloud/apis/anchore-engine-api-server.md) · [All operations](https://skmtc.net/banzaicloud/apis/anchore-engine-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/banzaicloud/anchore-engine-api-server/versions/38e5705e0b21/schema)
