Skip to content

Update key metrics configuration

Request

Replaces the key metrics configuration for the authenticated user with the provided settings.

Bodyapplication/jsonrequired
metricsArray of objectsrequired

List of metric configurations to update

curl -i -X PUT \
  https://uberall.com/api/home/key-metrics/configuration \
  -H 'Content-Type: application/json' \
  -d '{
    "metrics": [
      {
        "metricType": "GOOGLE_SEARCHES",
        "selectedTimePeriod": "LAST_30_DAYS"
      }
    ]
  }'

Responses

Configuration updated successfully

Bodyapplication/json
metricsArray of objectsrequired

List of configured metrics with their visibility and time period settings

Response
{ "metrics": [ {} ] }