---
title: "Delete a user"
method: DELETE
path: "/admin/users/{username}"
tags: ["enterprise-admin"]
---

# Delete a user

`DELETE /admin/users/{username}`

Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.7/rest/enterprise-admin/users#suspend-a-user) is often a better option.

You can delete any user account except your own.

## Path parameters

- `username` string, required

## Response `204`

Response

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-6.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-6/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-6/versions/15db3fa0759b/schema)
