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