Skip to content

Commit ad23e8f

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent dcb181d commit ad23e8f

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

content/v3/users/administration.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,21 @@ If your GitHub Enterprise appliance has [LDAP Sync with Active Directory LDAP se
148148
[public_key, deploy_key.merge("id" => "2", "url" => "https://api.github.com/repos/octocat/Hello-World/keys/2")] \
149149
} %>
150150

151+
## Delete a user
152+
153+
{{#warning}}
154+
155+
Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](/v3/users/administration/#suspend-a-user) is often a better option.
156+
157+
{{/warning}}
158+
159+
DELETE /admin/users/:username
160+
161+
You can delete any user account except your own.
162+
163+
### Response
164+
165+
<%= headers 204 %>
151166

152167
## Delete a public key
153168

0 commit comments

Comments
 (0)