curl --request PUT \
--url https://app.herondata.io/api/users/current/settings \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"balance_sheet_categories": {
"current_assets": {},
"current_liabilities": {},
"equity": {},
"fixed_assets": {},
"non_current_liabilities": {},
"other_assets": {}
},
"disable_data_export": true,
"financials_metrics": {},
"industry_naics_enabled": true,
"low_balance_days_threshold": 123,
"pnl_categories": {
"cogs": {},
"income": {},
"operating_expenses": {},
"other_expenses": {},
"other_income": {}
},
"query_reports": [
{
"tab_group": "<string>",
"tabs": [
{
"tab_name": "<string>",
"widgets": [
{
"description": "<string>",
"query_name": "<string>",
"title": "<string>"
}
]
}
]
}
],
"required_revenue_per_month": 123,
"restricted_industries": [
{
"description": "<string>",
"name": "<string>"
}
],
"use_new_company_layout": true,
"use_new_end_user_summary_table": true,
"use_new_end_user_table": true
}'
curl --request PUT \
--url https://app.herondata.io/api/users/current/settings \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"balance_sheet_categories": {
"current_assets": {},
"current_liabilities": {},
"equity": {},
"fixed_assets": {},
"non_current_liabilities": {},
"other_assets": {}
},
"disable_data_export": true,
"financials_metrics": {},
"industry_naics_enabled": true,
"low_balance_days_threshold": 123,
"pnl_categories": {
"cogs": {},
"income": {},
"operating_expenses": {},
"other_expenses": {},
"other_income": {}
},
"query_reports": [
{
"tab_group": "<string>",
"tabs": [
{
"tab_name": "<string>",
"widgets": [
{
"description": "<string>",
"query_name": "<string>",
"title": "<string>"
}
]
}
]
}
],
"required_revenue_per_month": 123,
"restricted_industries": [
{
"description": "<string>",
"name": "<string>"
}
],
"use_new_company_layout": true,
"use_new_end_user_summary_table": true,
"use_new_end_user_table": true
}'
The new settings
The body is of type object
.
OK
Was this page helpful?