AlphaAlpha Docs
API ReferenceUser preferences

Update the routes the current user has hidden from the sidebar

PUT
/user/preferences/me/sidebar-hidden
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

paths*array<string>

Response Body

application/json

application/json

application/json

application/json

application/json

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