metalctlv2_logout.md
July 28, 2026 ยท View on GitHub
metalctlv2 logout
logout
metalctlv2 logout [flags]
Options
--context-name string the context into which the token gets injected, if not specified it uses the current context or creates a context named default in case there is no current context set
-h, --help help for logout
--provider string the provider used to logout with (default "openid-connect")
Options inherited from parent commands
--api-token string the token used for api requests
--api-url string the url to the metal-stack.io api
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template), wide is a table with more columns. (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
SEE ALSO
- metalctlv2 - cli for managing entities in metal-stack