File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ In order to **export** the user settings Cloud Shell saves for you such as prefe
161
161
Bash:
162
162
163
163
```
164
- token="Bearer $(curl http://localhost:50342/oauth2/token --data "resource=https://management.azure.com/" -H Metadata:true -s | jq -r ".access_token ")"
164
+ token="Bearer $(curl http://localhost:50342/oauth2/token --data "resource=https://management.azure.com/" -H Metadata:true -s | jq -r ".accessToken ")"
165
165
curl https://management.azure.com/providers/Microsoft.Portal/usersettings/cloudconsole?api-version=2017-12-01-preview -H Authorization:"Bearer $token" -s | jq
166
166
```
167
167
@@ -185,7 +185,7 @@ In order to **delete** your user settings Cloud Shell saves for you such as pref
185
185
Bash:
186
186
187
187
```
188
- token=$(az account get-access-token --resource "https://management.azure.com/" | jq -r ".access_token ")
188
+ token=$(az account get-access-token --resource "https://management.azure.com/" | jq -r ".accessToken ")
189
189
curl -X DELETE https://management.azure.com/providers/Microsoft.Portal/usersettings/cloudconsole?api-version=2017-12-01-preview -H Authorization:"Bearer $token"
190
190
```
191
191
You can’t perform that action at this time.
0 commit comments