AlphaAlpha Docs
API ReferenceUser preferences

Replace current user's preferences

PUT
/user/preferences/me
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/user/preferences/me" \  -H "Content-Type: application/json" \  -d '{    "sidebarHidden": [      "string"    ],    "sidebarSectionsCollapsed": {      "property1": true,      "property2": true    },    "tabPreferences": {      "property1": {        "hidden": [          "string"        ],        "order": [          "string"        ]      },      "property2": {        "hidden": [          "string"        ],        "order": [          "string"        ]      }    }  }'
{
  "displayCurrency": "string",
  "id": "string",
  "sidebarHidden": [
    "string"
  ],
  "sidebarSectionsCollapsed": {
    "property1": true,
    "property2": true
  },
  "tabPreferences": {
    "property1": {
      "hidden": [
        "string"
      ],
      "order": [
        "string"
      ]
    },
    "property2": {
      "hidden": [
        "string"
      ],
      "order": [
        "string"
      ]
    }
  },
  "userId": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}