account-access

Set account analytics consent

Changed on

Idempotently stores an explicit decision. Does not change browser replay permission.

put/me/analytics-consent

Request

  • Base URL: https://eu.bisibility.com/api/v1
  • URL: https://eu.bisibility.com/api/v1/me/analytics-consent
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL /api/auth/oauth2/authorize, token URL /api/auth/oauth2/token, scopes: api:write)

Headers

Bisibility-API-Version'v1'

API contract version requested by the client. Omit this header to use the current backward-compatible behavior.

Idempotency-Keystring

Optional key that makes a retry of this request return the first response instead of running it again. Replays last 24 hours and are scoped to the credential, method and path.

X-Bisibility-Source'sdk' | 'cli' | 'mcp'

Declares the client that produced the request for usage reporting: sdk, cli or mcp. Optional; any other value counts as api. It never changes authentication or which budget applies (every bearer-authenticated request counts against the API, MCP and SDK budget).

Request body

analyticsboolean required

Response

Account analytics consent; a null decision means pending.

analyticsboolean required
decided_atstring date-time nullable required
source'web' | 'ios' | 'api' | 'null' nullable required
versioninteger required

Changes

    • info

      the endpoint scheme security AppOAuth was added to the API

    • info

      added the new optional header request parameter Idempotency-Key

    • info

      added the media type application/problem+json for the response with the status

    • info

      added the media type application/problem+json for the response with the status

    • info

      added the media type application/problem+json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status