HubSpot · JSON Structure

Hubspot Crm Feature Flags Portal Flag State Structure

Represents the flag state override for a specific portal (account)

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

PortalFlagState is a JSON Structure definition published by HubSpot, describing 4 properties, of which 4 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

appId flagName portalId flagState

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

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Represents the flag state override for a specific portal (account)",
  "name": "PortalFlagState",
  "properties": {
    "appId": {
      "type": "integer",
      "description": "The unique identifier for the HubSpot application"
    },
    "flagName": {
      "type": "string",
      "description": "The name of the feature flag"
    },
    "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": [
    "appId",
    "flagName",
    "portalId",
    "flagState"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}