-
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.
DXCDT-601: Supporting multiple identifiers for blocks list and unbloc…
…k commands (#931) * Adding multi-identifier support for list * Adding multi-identifier support for unblock * Updating mock API in tests * Adding test cases * Updating docs * Fixing docs indentation * Returning error * Adding new user identifier argument * Fixing docs * Fixing docs again --------- Co-authored-by: Will Vedder <[email protected]>
- Loading branch information
Showing
10 changed files
with
142 additions
and
37 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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ has_toc: false | |
--- | ||
# auth0 users blocks list | ||
|
||
List brute-force protection blocks for a given user. | ||
List brute-force protection blocks for a given user by user ID, username, phone number or email. | ||
|
||
## Usage | ||
``` | ||
|
@@ -15,8 +15,10 @@ auth0 users blocks list [flags] | |
## Examples | ||
|
||
``` | ||
auth0 users blocks list <user-id> | ||
auth0 users blocks list <user-id> --json | ||
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]" | ||
``` | ||
|
||
|
||
|
@@ -40,6 +42,6 @@ auth0 users blocks list [flags] | |
## Related Commands | ||
|
||
- [auth0 users blocks list](auth0_users_blocks_list.md) - List brute-force protection blocks for a given user | ||
- [auth0 users blocks unblock](auth0_users_blocks_unblock.md) - Remove brute-force protection blocks for a given user | ||
- [auth0 users blocks unblock](auth0_users_blocks_unblock.md) - Remove brute-force protection blocks for users | ||
|
||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ has_toc: false | |
--- | ||
# auth0 users blocks unblock | ||
|
||
Remove brute-force protection blocks for a given user. | ||
Remove brute-force protection blocks for users by user ID, username, phone number or email. | ||
|
||
## Usage | ||
``` | ||
|
@@ -15,9 +15,10 @@ auth0 users blocks unblock [flags] | |
## Examples | ||
|
||
``` | ||
auth0 users blocks unblock | ||
auth0 users blocks unblock <user-id> | ||
auth0 users blocks unblock <user-id> <user-id2> <user-idn> | ||
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 "[email protected]" "[email protected]" | ||
``` | ||
|
||
|
||
|
@@ -36,6 +37,6 @@ auth0 users blocks unblock [flags] | |
## Related Commands | ||
|
||
- [auth0 users blocks list](auth0_users_blocks_list.md) - List brute-force protection blocks for a given user | ||
- [auth0 users blocks unblock](auth0_users_blocks_unblock.md) - Remove brute-force protection blocks for a given user | ||
- [auth0 users blocks unblock](auth0_users_blocks_unblock.md) - Remove brute-force protection blocks for users | ||
|
||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.