HubSpot · Schema

BatchPortalFlagStateInput

Input payload for batch creating or updating portal flag states

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
inputs array List of portal flag state inputs
View JSON Schema on GitHub

JSON Schema

crm-feature-flags-api-batch-portal-flag-state-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/crm-feature-flags-api-batch-portal-flag-state-input-schema.json",
  "title": "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": "integer",
            "format": "int64",
            "description": "The unique identifier for the HubSpot portal (account)",
            "example": 98765432
          },
          "flagState": {
            "$ref": "#/components/schemas/FlagState"
          }
        }
      },
      "example": [
        {
          "portalId": 98765432,
          "flagState": {}
        }
      ]
    }
  },
  "required": [
    "inputs"
  ]
}