Skip to main content

Update product analytics settings

PATCHhttps://api.eu1.coralogix.com/mgmt/openapi/5/product-analytics/settings/v1

Updates the fields listed in update_mask. Other fields are unchanged. A listed field must be in the body. Sending the value the team already has succeeds and changes nothing. Works when Product Analytics is off. Returns the stored settings.

Requires the following permissions:

  • product-analytics:Enable

Authorizations

Authorizationstringheaderrequired
API key authentication

Request​

Query Parameters

    update_mask# stringrequired

    Possible values: non-empty and <= 512 characters, Value must match regular expression ^[A-Za-z_][A-Za-z0-9_]*(,[A-Za-z_][A-Za-z0-9_]*)*$

    Comma-separated JSON paths of the fields to update: enabled. A listed field must be in the body: listing enabled without a value returns 400. Unknown and nested paths, and *, return 400. A listed field is replaced as a whole, a oneOf arm included.

Body

application/json

Settings field values for an update. Only fields listed in update_mask are applied.

    enabled#boolean

    Whether Product Analytics is enabled for the team. Required when update_mask lists enabled: a listed but missing enabled returns 400.

Response

application/json

The updated settings.

    enabled#booleanrequired

    Whether Product Analytics is enabled for the team.