-
Notifications
You must be signed in to change notification settings - Fork 55
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
Showing
3 changed files
with
6 additions
and
6 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 |
---|---|---|
|
@@ -17,8 +17,8 @@ auth0 users blocks list [flags] | |
``` | ||
auth0 users blocks list <user-id|username|email|phone-number> | ||
auth0 users blocks list <user-id|username|email|phone-number> --json | ||
auth0 users blocks list "auth0|61b5b6e90783fa19f7c57dad | ||
auth0 users blocks list "[email protected] | ||
auth0 users blocks list "auth0|61b5b6e90783fa19f7c57dad" | ||
auth0 users blocks list "[email protected]" | ||
``` | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ auth0 users blocks unblock [flags] | |
|
||
``` | ||
auth0 users blocks unblock <user-id1|username1|email1|phone-number1> <user-id2|username2|email2|phone-number2> | ||
auth0 users blocks unblock "auth0|61b5b6e90783fa19f7c57dad | ||
auth0 users blocks unblock "auth0|61b5b6e90783fa19f7c57dad" | ||
auth0 users blocks unblock "[email protected]" "[email protected]" | ||
``` | ||
|
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 |
---|---|---|
|
@@ -37,8 +37,8 @@ func listUserBlocksCmd(cli *cli) *cobra.Command { | |
Long: "List brute-force protection blocks for a given user by user ID, username, phone number or email.", | ||
Example: ` auth0 users blocks list <user-id|username|email|phone-number> | ||
auth0 users blocks list <user-id|username|email|phone-number> --json | ||
auth0 users blocks list "auth0|61b5b6e90783fa19f7c57dad | ||
auth0 users blocks list "[email protected]`, | ||
auth0 users blocks list "auth0|61b5b6e90783fa19f7c57dad" | ||
auth0 users blocks list "[email protected]"`, | ||
RunE: func(cmd *cobra.Command, args []string) error { | ||
if len(args) == 0 { | ||
if err := userIdentifier.Ask(cmd, &inputs.userIdentifier); err != nil { | ||
|
@@ -78,7 +78,7 @@ func deleteUserBlocksCmd(cli *cli) *cobra.Command { | |
Short: "Remove brute-force protection blocks for users", | ||
Long: "Remove brute-force protection blocks for users by user ID, username, phone number or email.", | ||
Example: ` auth0 users blocks unblock <user-id1|username1|email1|phone-number1> <user-id2|username2|email2|phone-number2> | ||
auth0 users blocks unblock "auth0|61b5b6e90783fa19f7c57dad | ||
auth0 users blocks unblock "auth0|61b5b6e90783fa19f7c57dad" | ||
auth0 users blocks unblock "[email protected]" "[email protected]" | ||
`, | ||
RunE: func(cmd *cobra.Command, args []string) error { | ||
|