HubSpot · JSON Structure

Crm Feature Flags Api Batch Portal Flag State Input Item Structure

Individual item in a batch upsert request

Type: object Properties: 2 Required: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

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

Properties

portalId flagState

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/hubspot/refs/heads/main/json-structure/crm-feature-flags-api-batch-portal-flag-state-input-item-structure.json",
  "name": "BatchPortalFlagStateInputItem",
  "description": "Individual item in a batch upsert request",
  "type": "object",
  "properties": {
    "portalId": {
      "type": "int64",
      "description": "The unique identifier for the HubSpot portal (account)",
      "example": 98765432
    },
    "flagState": {
      "type": "string",
      "description": "The state of a feature flag",
      "enum": [
        "ON",
        "OFF",
        "ABSENT"
      ],
      "example": "ON"
    }
  },
  "required": [
    "portalId",
    "flagState"
  ]
}