HubSpot · JSON Structure

Hubspot Crm Feature Flags 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/draft/2020-12/schema meta-schema.

Properties

inputs

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Input payload for batch creating or updating portal flag states",
  "name": "BatchPortalFlagStateInput",
  "properties": {
    "inputs": {
      "type": "array",
      "description": "List of portal flag state inputs",
      "items": {
        "type": "object",
        "description": "Individual item in a batch upsert request",
        "properties": {
          "portalId": {
            "type": "integer",
            "description": "The unique identifier for the HubSpot portal (account)"
          },
          "flagState": {
            "type": "string",
            "description": "The state of a feature flag",
            "enum": [
              "ON",
              "OFF",
              "ABSENT"
            ]
          }
        },
        "required": [
          "portalId",
          "flagState"
        ]
      }
    }
  },
  "required": [
    "inputs"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}