HubSpot · JSON Structure

Crm Feature Flags Api Batch Portal Flag State Input Structure

Input payload for batch creating or updating portal flag states

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

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

Properties

inputs

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-structure.json",
  "name": "BatchPortalFlagStateInput",
  "description": "Input payload for batch creating or updating portal flag states",
  "type": "object",
  "properties": {
    "inputs": {
      "type": "array",
      "description": "List of portal flag state inputs",
      "items": {
        "type": "object",
        "description": "Individual item in a batch upsert request",
        "required": [
          "portalId",
          "flagState"
        ],
        "properties": {
          "portalId": {
            "type": "int64",
            "description": "The unique identifier for the HubSpot portal (account)",
            "example": 98765432
          },
          "flagState": {
            "$ref": "#/components/schemas/FlagState"
          }
        }
      },
      "example": [
        {
          "portalId": 98765432,
          "flagState": {}
        }
      ]
    }
  },
  "required": [
    "inputs"
  ]
}