1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/cli-logging-out.adoc
Max Bridges b5fc467d1f add content types to untagged modules
OSDOCS-16694
2025-10-31 21:02:28 -04:00

26 lines
553 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/openshift_cli/getting-started.adoc
:_mod-docs-content-type: PROCEDURE
[id="cli-logging-out_{context}"]
= Logging out of the OpenShift CLI
You can log out the OpenShift CLI to end your current session.
* Use the `oc logout` command.
+
[source,terminal]
----
$ oc logout
----
+
.Example output
[source,terminal]
----
Logged "user1" out on "https://openshift.example.com"
----
This deletes the saved authentication token from the server and removes it from
your configuration file.