Change your preferences
PATCH
What is left out stays; dismissedTips replaces the whole list. Applies at once and is not audited (it changes nothing anyone else sees). Only your own: nobody reads or changes another person’s. Any person; no permission needed.
bearerheader
AuthorizationBearer <JWT>A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.
X-Ccms-User?stringDemo mode only (CCMS_AUTH_MODE=demo): the user ID to act as. The bearer token is still required; without demo mode the header is refused (400).
application/vnd.api+json- body
data*application/vnd.api+json- response
data*Your own preferences: the editor’s tips and first-run tour. id is your user ID (service for a service, which has the defaults and changes none).
curl -X PATCH 'http://localhost:3000/me/preferences' \ -H 'Content-Type: application/vnd.api+json' \ -d '{ "data": { "type": "Preferences", "attributes": {} }}'Example Response
{ "data": { "type": "Preferences", "id": "string", "attributes": { "showTips": true, "dismissedTips": [ "string" ], "tourDone": true }, "meta": { "updatedAt": "2019-08-24T14:15:22Z" } }}