Skip to main content
Version: v1.9

hydra token revoke

hydra token revoke#

Revoke an access or refresh token

hydra token revoke <token> [flags]


      --client-id string       Use the provided OAuth 2.0 Client ID, defaults to environment variable OAUTH2_CLIENT_ID      --client-secret string   Use the provided OAuth 2.0 Client Secret, defaults to environment variable OAUTH2_CLIENT_SECRET      --endpoint string        Set the URL where ORY Hydra is hosted, defaults to environment variable HYDRA_URL  -h, --help                   help for revoke

Options inherited from parent commands#

      --fail-after duration    Stop retrying after the specified duration (default 1m0s)      --fake-tls-termination   fake tls termination by adding "X-Forwarded-Proto: https" to http headers      --skip-tls-verify        Foolishly accept TLS certificates signed by unknown certificate authorities