-
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
2 changed files
with
4 additions
and
4 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 unblock "auth0|61b5b6e90783fa19f7c57dad | ||
auth0 users blocks unblock "[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 |
---|---|---|
|
@@ -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 unblock "auth0|61b5b6e90783fa19f7c57dad | ||
auth0 users blocks unblock "[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 { | ||
|