Amplitude · Schema

UserUnmapRequest

UserUnmapRequest schema from Amplitude User Mapping API

A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

Properties

Name Type Description
mapping array An array of user mapping objects to reverse.
View JSON Schema on GitHub

JSON Schema

user-mapping-api-user-unmap-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amplitude/refs/heads/main/json-schema/user-mapping-api-user-unmap-request-schema.json",
  "title": "UserUnmapRequest",
  "description": "UserUnmapRequest schema from Amplitude User Mapping API",
  "type": "object",
  "properties": {
    "mapping": {
      "type": "array",
      "description": "An array of user mapping objects to reverse.",
      "items": {
        "type": "object",
        "required": [
          "global_user_id",
          "user_id"
        ],
        "properties": {
          "global_user_id": {
            "type": "string",
            "description": "The primary user ID that other identities will be mapped to."
          },
          "user_id": {
            "type": "string",
            "description": "The user ID to map to the global_user_id."
          },
          "unmap": {
            "type": "boolean",
            "description": "When true, removes the mapping instead of creating it."
          }
        }
      }
    }
  },
  "required": [
    "mapping"
  ]
}