2025-03-14 21:59:59 -06:00
|
|
|
# az logout
|
|
|
|
|
|
|
|
|
|
> Log out from an Azure subscription.
|
|
|
|
|
> Part of `azure-cli` (also known as `az`).
|
|
|
|
|
> More information: <https://learn.microsoft.com/cli/azure/reference-index#az-logout>.
|
|
|
|
|
|
|
|
|
|
- Log out from the active account:
|
|
|
|
|
|
|
|
|
|
`az logout`
|
|
|
|
|
|
|
|
|
|
- Log out a specific username:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`az logout --username {{alias@example.com}}`
|