@@ -17938,15 +17938,13 @@ paths:
1793817938 schema:
1793917939 type: object
1794017940 description: A dictionary of user preferences.
17941- example: { "key1": "value1", "key2": "value2"}
17941+ example: { "key1": "value1", "key2": "value2" }
1794217942 default:
1794317943 $ref: '#/components/responses/ErrorResponse'
1794417944 x-code-samples:
1794517945 - lang: Shell
1794617946 source: >
17947- curl -H "Content-Type: application/json" \
17948- -H "Authorization: Bearer $TOKEN" \
17949- -X GET \
17947+ curl -H "Authorization: Bearer $TOKEN" \
1795017948 https://api.linode.com/v4/profile/preferences
1795117949 put:
1795217950 tags:
@@ -17976,7 +17974,9 @@ paths:
1797617974 schema:
1797717975 type: object
1797817976 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.
1798017980 responses:
1798117981 '200':
1798217982 description: Returns an object of user preferences.
@@ -17985,7 +17985,7 @@ paths:
1798517985 schema:
1798617986 type: object
1798717987 description: An object of user preferences.
17988- example: { "key1": "value1", "key2": "value2"}
17988+ example: { "key1": "value1", "key2": "value2" }
1798917989 default:
1799017990 $ref: '#/components/responses/ErrorResponse'
1799117991 x-code-samples:
@@ -17995,10 +17995,9 @@ paths:
1799517995 -H "Authorization: Bearer $TOKEN" \
1799617996 -X PUT -d '{
1799717997 "key1": "value1",
17998- "key1 ": "value2"
17998+ "key2 ": "value2"
1799917999 }' \
1800018000 https://api.linode.com/v4/profile/preferences
18001-
1800218001 /regions:
1800318002 x-linode-cli-command: regions
1800418003 get:
0 commit comments