Skip to main content
Version: v1.8

hydra token revoke

hydra token revoke

Revoke an access or refresh token

Synopsis

Revoke an access or refresh token

hydra token revoke <token> [flags]

Options

      --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

      --config string          Config file (default is $HOME/.hydra.yaml)
--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 unkown certificate authorities

SEE ALSO