---
title: esc logout | CLI commands
url: /docs/esc/cli/commands/esc_logout/
---

Log out of the Pulumi Cloud

## Synopsis

Log out of the Pulumi Cloud.

This command deletes stored credentials on the local machine for a single login.

Because you may be logged into multiple backends simultaneously, you can optionally pass
a specific URL argument, formatted just as you logged in, to log out of a specific one.
If no URL is provided, you will be logged out of the current backend.

If you would like to log out of all backends simultaneously, you can pass `--all`,

$ esc logout --all

```
esc logout <url> [flags]
```

## Options

```
      --all                Logout of all backends
  -c, --cloud-url string   A cloud URL to log out of (defaults to current cloud)
  -h, --help               help for logout
```

## SEE ALSO

* [esc](/docs/esc/cli/commands/esc/)	 - Pulumi ESC command line


