Analytics

Set the coach's cross-coach benchmark opt-in state

Turns benchmarking on or off. Opting out also stops this coach's data feeding anyone else's benchmarks.

Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

put/api/analytics/benchmark-consent

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/analytics/benchmark-consent
  • Auth: API key in cookie luca.session_token

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

optInboolean required

Response

ok

status'granted' | 'withdrawn' | 'none' required
grantedAtstring nullable required
withdrawnAtstring nullable required

Changes

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