{ "type": "object", "description": "Response for successful batch portal flag state operations", "properties": { "status": { "type": "string", "description": "The overall status of the batch operation", "example": "COMPLETE", "enum": [ "COMPLETE", "PENDING" ] }, "results": { "type": "array", "description": "List of portal flag states that were successfully affected", "example": [ { "appId": 12345678, "flagName": "new-dashboard-feature", "portalId": 98765432, "flagState": {} } ], "items": { "type": "object", "description": "Represents the flag state override for a specific portal (account)", "properties": { "appId": { "type": "integer", "description": "The unique identifier for the HubSpot application", "format": "int64", "example": 12345678 }, "flagName": { "type": "string", "description": "The name of the feature flag", "example": "new-dashboard-feature" }, "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": [ "appId", "flagName", "portalId", "flagState" ] } }, "startedAt": { "type": "string", "description": "Timestamp when the batch operation started", "format": "date-time", "example": "2024-01-15T10:30:00Z" }, "completedAt": { "type": "string", "description": "Timestamp when the batch operation completed", "format": "date-time", "example": "2024-01-15T10:30:01Z" } }, "required": [ "status", "results" ], "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "BatchPortalFlagStateResponse" }