# az logout > Log out from an Azure subscription. > Part of `azure-cli` (also known as `az`). > More information: . - Log out from the active account: `az logout` - Log out a specific username: `az logout --username {{alias@somedomain.com}}`