Skip to content

Commit 1d357eb

Browse files
authored
Fixed Bash delete steps
Steps had been changed and had incorrect syntax: * Missing `bearer` in token * Missing bash variable expansion `$`
1 parent 87dec51 commit 1d357eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cloud-shell/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ 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 ".access_token")
187+
token="Bearer $(az account get-access-token --resource "https://management.azure.com/" | jq -r ".accessToken")"
188188
curl -X DELETE https://management.azure.com/providers/Microsoft.Portal/usersettings/cloudconsole?api-version=2017-12-01-preview -H Authorization:"$token"
189189
```
190190

0 commit comments

Comments
 (0)