You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/usage/command-line.en-us.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -69,9 +69,10 @@ Admin operations:
69
69
-`gitea admin user list`
70
70
-`delete`:
71
71
- Options:
72
+
-`--email`: Email of the user to be deleted.
72
73
-`--username`: Username of user to be deleted.
73
74
-`--id`: ID of user to be deleted.
74
-
- One of `--id`or `--username` is required.
75
+
- One of `--id`, `--username`or `--email` is required. If more than one is provided then all have to match.
75
76
- Examples:
76
77
-`gitea admin user delete --id 1`
77
78
-`create`: - Options: - `--name value`: Username. Required. As of gitea 1.9.0, use the `--username` flag instead. - `--username value`: Username. Required. New in gitea 1.9.0. - `--password value`: Password. Required. - `--email value`: Email. Required. - `--admin`: If provided, this makes the user an admin. Optional. - `--access-token`: If provided, an access token will be created for the user. Optional. (default: false). - `--must-change-password`: If provided, the created user will be required to choose a newer password after
0 commit comments