-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
826ef37
commit 1bff0a4
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ def setup_key_auth(mgmt_uri): | |
{cli} user password [email protected] [password] | ||
{cli} user remove [email protected] | ||
{cli} user make-admin [email protected] | ||
{cli} user quota user@domain [new-quota] | ||
{cli} user quota user@domain [new-quota] (get or set user quota) | ||
{cli} user remove-admin [email protected] | ||
{cli} user admins (lists admins) | ||
{cli} user mfa show [email protected] (shows MFA devices for user, if any) | ||
|
@@ -123,7 +123,7 @@ def setup_key_auth(mgmt_uri): | |
print(user['email']) | ||
|
||
elif sys.argv[1] == "user" and sys.argv[2] == "quota" and len(sys.argv) == 4: | ||
# Set a user's quota | ||
# Get a user's quota | ||
print(mgmt("/mail/users/quota?text=1&email=%s" % sys.argv[3])) | ||
|
||
elif sys.argv[1] == "user" and sys.argv[2] == "quota" and len(sys.argv) == 5: | ||
|
@@ -154,4 +154,3 @@ def setup_key_auth(mgmt_uri): | |
else: | ||
print("Invalid command-line arguments.") | ||
sys.exit(1) | ||
|