AlphaAlpha Docs
API ReferenceUser preferences

Update the collapsed state of a sidebar section for the current user

PUT
/user/preferences/me/sidebar-sections/{sectionId}
AuthorizationBearer <token>

In: header

Path Parameters

sectionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

collapsed*boolean

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/user/preferences/me/sidebar-sections/string" \  -H "Content-Type: application/json" \  -d '{    "collapsed": true  }'
{
  "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"
}