# Delete user resource.

This can only be done by the logged in user.

[Delete user resource.](https://clay-doc.github.io/clay-example-repo/de/api/petstore/user/delete-user.md)

```sh
curl -X DELETE 'https://petstore3.swagger.io/api/v3/user/string'
```
## Authentifizierung

Keine Authentifizierung nötig.

## Parameter

::: fields
- `username` string **erforderlich** *path*

  The name that needs to be deleted
:::

## Antworten

::: tabs status
== 200

User deleted

== 400

Invalid username supplied

== 404

User not found

== default

Unexpected error
:::

---

All pages of these docs, as Markdown for language models: https://clay-doc.github.io/clay-example-repo/de/llms.txt
