Insights

Merge-patch the coach's alert-delivery settings

A merge patch. Send only what you're changing. Anything you leave out keeps its current value.

API key scopes: insights:write. You also need an Idempotency-Key header.

put/api/insights/settings

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/insights/settings
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

feedEnabledboolean
digestEnabledboolean
pushEnabledboolean

Response

ok

feedEnabledboolean required
digestEnabledboolean required
pushEnabledboolean required
togglesobject required
thresholdsobject required
updatedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.