hydra delete client
Delete one or more OAuth 2.0 Clients by their ID(s)
This command deletes one or more OAuth 2.0 Clients by their respective IDs.
hydra delete client id-1 [id-2] [id-n] [flags]
hydra delete client client-1 client-2 client-3
To delete OAuth 2.0 Clients with the owner of "firstname.lastname@example.org", run:
hydra delete client $(hydra list clients --format json | jq -r 'map(select(.contacts == "email@example.com")) | ..client_id')
-h, --help help for client
Options inherited from parent commands
-e, --endpoint string The API URL this command should target. Alternatively set using the ORY_SDK_URL environmental variable.
--format string Set the output format. One of table, json, yaml, and json-pretty. (default "default")
-H, --http-header : A list of additional HTTP headers to set. HTTP headers is separated by a : , for example: `-H 'Authorization: bearer some-token'`.
-q, --quiet Be quiet with output printing.
--skip-tls-verify Do not verify TLS certificates. Useful when dealing with self-signed certificates. Do not use in production!
- hydra delete - Delete resources