@@ -17938,15 +17938,13 @@ paths:
17938
17938
schema:
17939
17939
type: object
17940
17940
description: A dictionary of user preferences.
17941
- example: { "key1": "value1", "key2": "value2"}
17941
+ example: { "key1": "value1", "key2": "value2" }
17942
17942
default:
17943
17943
$ref: '#/components/responses/ErrorResponse'
17944
17944
x-code-samples:
17945
17945
- lang: Shell
17946
17946
source: >
17947
- curl -H "Content-Type: application/json" \
17948
- -H "Authorization: Bearer $TOKEN" \
17949
- -X GET \
17947
+ curl -H "Authorization: Bearer $TOKEN" \
17950
17948
https://api.linode.com/v4/profile/preferences
17951
17949
put:
17952
17950
tags:
@@ -17976,7 +17974,9 @@ paths:
17976
17974
schema:
17977
17975
type: object
17978
17976
description: |
17979
- Arbitrary JSON of your choosing.
17977
+ Arbitrary JSON of your choosing. Overwrites any existing preferences for this user.
17978
+
17979
+ Total length cannot exceed 65,535 characters.
17980
17980
responses:
17981
17981
'200':
17982
17982
description: Returns an object of user preferences.
@@ -17985,7 +17985,7 @@ paths:
17985
17985
schema:
17986
17986
type: object
17987
17987
description: An object of user preferences.
17988
- example: { "key1": "value1", "key2": "value2"}
17988
+ example: { "key1": "value1", "key2": "value2" }
17989
17989
default:
17990
17990
$ref: '#/components/responses/ErrorResponse'
17991
17991
x-code-samples:
@@ -17995,10 +17995,9 @@ paths:
17995
17995
-H "Authorization: Bearer $TOKEN" \
17996
17996
-X PUT -d '{
17997
17997
"key1": "value1",
17998
- "key1 ": "value2"
17998
+ "key2 ": "value2"
17999
17999
}' \
18000
18000
https://api.linode.com/v4/profile/preferences
18001
-
18002
18001
/regions:
18003
18002
x-linode-cli-command: regions
18004
18003
get:
0 commit comments