Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitfee9836

Browse files
committed
Add Enterprise API to delete users.
As requested inhttps://github.com/github/customer-feedback/issues/461.This adds a new endpoint at `admin/users/:login`.
1 parent4379761 commitfee9836

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

‎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 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)

[8]ページ先頭

©2009-2025 Movatter.jp