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,
  "selectedSignature": "<string>",
  "customSignature": {
    "kind": "drawn",
    "svgPath": "<string>",
    "viewBox": "<string>"
  }
}
'
{
  "data": true
}

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