Skip to main content
POST
/
user
/
settings
Update user settings
curl --request POST \
  --url https://app.myhero.so/user/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "editorFontSize": 123,
  "themeId": 123,
  "treeOrdering": "by-top-folders-locals",
  "selectedSignature": "<string>",
  "customSignature": {
    "kind": "drawn",
    "svgPath": "<string>",
    "viewBox": "<string>"
  }
}
'
{
  "data": true
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Persists editor and display preferences — font size, theme, tree ordering, selected signature, or custom signature — for the authenticated user. At least one field must be present in the request body.

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
editorFontSize
number
themeId
number
treeOrdering
enum<string>
Available options:
by-top-folders-locals,
by-created-at,
by-updated-at
selectedSignature
string
customSignature
object

Response

200 response

data
enum<boolean>
required
Available options:
true