ChartnautDocs

Stop an insight showing on your charts. It stays in your library

POST/insights/{insight_id}/deactivate
Base URL
https://api.chartnaut.com/v1
Auth
Bearer key
Operation ID
deactivateInsight

Frees its slot in the plan's Forward Insights on charts. Deactivating one that is not active changes nothing.

Path parameters#

insight_idstringRequired
Pattern ^ins_[0-9]+$Example ins_61

Responses#

200OKapplication/json

Not active.

object
insightstringRequired
Example ins_61
activebooleanRequired
Only false
in_useintegerRequired

Active insights now, live and paused.

limitone of 2 types · ActiveInsightsLimitRequired

The plan's Forward Insights on charts: a number, or unlimited.

Show options

One of

integer
At least 0
string
Only unlimited
400Bad requestapplication/json

invalid_request.

object · Error
errorobjectRequired
Show fields
codestringRequired

Stable. Branch on this, never on message.

One of unauthorized forbidden_scope plan_limit not_found version_conflict script_invalid in_use out_of_coverage unknown_instrument ambiguous_instrument unsupported_timeframe run_not_finished rate_limited busy invalid_request forbidden conflict not_in_library confirmation_required not_shared not_installable not_implemented authorization_pending slow_down access_denied expired_token internal
messagestringRequired
detailsobject
docs_urlstring (uri)
request_idstring
404Not foundapplication/json

not_found: no such insight in your list.

object · Error
errorobjectRequired
Show fields
codestringRequired

Stable. Branch on this, never on message.

One of unauthorized forbidden_scope plan_limit not_found version_conflict script_invalid in_use out_of_coverage unknown_instrument ambiguous_instrument unsupported_timeframe run_not_finished rate_limited busy invalid_request forbidden conflict not_in_library confirmation_required not_shared not_installable not_implemented authorization_pending slow_down access_denied expired_token internal
messagestringRequired
detailsobject
docs_urlstring (uri)
request_idstring
ErrorAny other statusapplication/json

Error.

object · Error
errorobjectRequired
Show fields
codestringRequired

Stable. Branch on this, never on message.

One of unauthorized forbidden_scope plan_limit not_found version_conflict script_invalid in_use out_of_coverage unknown_instrument ambiguous_instrument unsupported_timeframe run_not_finished rate_limited busy invalid_request forbidden conflict not_in_library confirmation_required not_shared not_installable not_implemented authorization_pending slow_down access_denied expired_token internal
messagestringRequired
detailsobject
docs_urlstring (uri)
request_idstring