Skip to content

Commit e6f8978

Browse files
authored
Merge pull request #92381 from ryanborMSFT/patch-7
Fixed Bash delete steps
2 parents cdf479b + 79d0d48 commit e6f8978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cloud-shell/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ In order to **delete** your user settings Cloud Shell saves for you such as pref
184184
Bash:
185185

186186
```
187-
token=$(az account get-access-token --resource "https://management.azure.com/" | jq -r ".accessToken")
188-
curl -X DELETE https://management.azure.com/providers/Microsoft.Portal/usersettings/cloudconsole?api-version=2017-12-01-preview -H Authorization:"Bearer $token"
187+
token="Bearer $(az account get-access-token --resource "https://management.azure.com/" | jq -r ".accessToken")"
188+
curl -X DELETE https://management.azure.com/providers/Microsoft.Portal/usersettings/cloudconsole?api-version=2017-12-01-preview -H Authorization:"$token"
189189
```
190190

191191
PowerShell:

0 commit comments

Comments
 (0)