-
Notifications
You must be signed in to change notification settings - Fork 386
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
57 changed files
with
181 additions
and
144 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
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
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
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
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 |
---|---|---|
|
@@ -28,13 +28,13 @@ ory delete identity id-0 [id-1] [id-2] [id-n] [flags] | |
``` | ||
To delete the identity with the recovery email address "[email protected]", run: | ||
{{ .CommandPath }} $({{ .Root.Name }} list identities --format json | jq -r 'map(select(.recovery_addresses[].value == "[email protected]")) | .[].id') | ||
ory delete identity $(ory list identities --format json | jq -r 'map(select(.recovery_addresses[].value == "[email protected]")) | .[].id') | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--format string Set the output format. One of table, json, yaml, json-pretty, and jsonpath. (default "default") | ||
--format string Set the output format. One of table, json, yaml, json-pretty, jsonpath and jsonpointer. (default "default") | ||
-h, --help help for identity | ||
--project string The project to use, either project ID or a (partial) slug. | ||
-q, --quiet Be quiet with output printing. | ||
|
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 |
---|---|---|
|
@@ -24,20 +24,21 @@ ory delete oauth2-client <id-1> [<id-2> ...] [flags] | |
### Examples | ||
|
||
``` | ||
{{ .CommandPath }} <client-1> <client-2> <client-3> | ||
ory delete oauth2-client <client-1> <client-2> <client-3> | ||
To delete OAuth 2.0 Clients with the owner of "[email protected]", run: | ||
{{ .CommandPath }} $({{ .Root.Name }} list oauth2-clients --format json | jq -r 'map(select(.contacts[] == "[email protected]")) | .[].client_id') | ||
ory delete oauth2-client $(ory list oauth2-clients --format json | jq -r 'map(select(.contacts[] == "[email protected]")) | .[].client_id') | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--format string Set the output format. One of table, json, yaml, json-pretty, and jsonpath. (default "default") | ||
-h, --help help for oauth2-client | ||
--project string The project to use, either project ID or a (partial) slug. | ||
-q, --quiet Be quiet with output printing. | ||
-e, --endpoint string The URL of Ory Kratos' Admin API. Alternatively set using the KRATOS_ADMIN_URL environmental variable. | ||
--format string Set the output format. One of table, json, yaml, json-pretty, jsonpath and jsonpointer. (default "default") | ||
-h, --help help for oauth2-client | ||
--project string The project to use, either project ID or a (partial) slug. | ||
-q, --quiet Be quiet with output printing. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
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
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
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.