HubSpot · JSON Structure

Hubspot Crm Lists Membership Change Request Structure

Request body for adding or removing list members.

Type: object Properties: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

MembershipChangeRequest is a JSON Structure definition published by HubSpot, describing 2 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

recordIdsToAdd recordIdsToRemove

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

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Request body for adding or removing list members.",
  "name": "MembershipChangeRequest",
  "properties": {
    "recordIdsToAdd": {
      "type": "array",
      "description": "The IDs of records to add to the list.",
      "items": {
        "type": "string"
      }
    },
    "recordIdsToRemove": {
      "type": "array",
      "description": "The IDs of records to remove from the list.",
      "items": {
        "type": "string"
      }
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}