PUT
/
api
/
users
/
current
/
settings
curl --request PUT \
  --url https://app.herondata.io/api/users/current/settings \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "balance_sheet_categories": {
    "current_assets": {},
    "current_liabilities": {},
    "equity": {},
    "fixed_assets": {},
    "non_current_liabilities": {},
    "other_assets": {}
  },
  "financials_metrics": {},
  "low_balance_days_threshold": 123,
  "pnl_categories": {
    "cogs": {},
    "income": {},
    "operating_expenses": {},
    "other_expenses": {},
    "other_income": {}
  },
  "required_revenue_per_month": 123,
  "use_new_company_layout": true,
  "use_new_end_user_table": true
}'

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
The new settings
balance_sheet_categories
object
financials_metrics
object
low_balance_days_threshold
number
pnl_categories
object
required_revenue_per_month
integer
use_new_company_layout
boolean
use_new_end_user_table
boolean

Response

204

OK