Google Analytics · JSON Structure

User Deletion Api User Deletion Id Structure

UserDeletionId schema from Google Analytics API

Type: object Properties: 2 Required: 2
AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution

UserDeletionId is a JSON Structure definition published by Google Analytics, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

type userId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/json-structure/user-deletion-api-user-deletion-id-structure.json",
  "name": "UserDeletionId",
  "description": "UserDeletionId schema from Google Analytics API",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of user identifier.",
      "enum": [
        "CLIENT_ID",
        "USER_ID",
        "APP_INSTANCE_ID"
      ],
      "example": "CLIENT_ID"
    },
    "userId": {
      "type": "string",
      "description": "The actual user identifier value corresponding to the specified type.",
      "example": "123456"
    }
  },
  "required": [
    "type",
    "userId"
  ]
}