> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.hubspot.crm.RemoveContactFromList

- Component: `appmixer.hubspot.crm.RemoveContactFromList`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.hubspot 4.10.0](https://connectors.appmixer.com/connector/appmixer.hubspot/4.10.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.hubspot/4.10.0/component/appmixer.hubspot.crm.RemoveContactFromList>

Remove one or more contacts from a HubSpot static (MANUAL) list.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| List (`listId`) | text | Select the HubSpot contact list. Only MANUAL (static) lists can have members removed via the API. |
| Contact IDs (`contactIds`) | text | One contact ID or a comma-separated list of contact IDs. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| List ID (`listId`) | string | - |
| Contact IDs (`contactIds`) | array | - |
| Count (`count`) | integer | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.hubspot.crm.RemoveContactFromList",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Remove one or more contacts from a HubSpot static (MANUAL) list.",
  "auth": {
    "service": "appmixer:hubspot"
  },
  "quota": {
    "manager": "appmixer:hubspot",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "listId": {
            "type": "string"
          },
          "contactIds": {
            "type": "string"
          }
        },
        "required": [
          "listId",
          "contactIds"
        ]
      },
      "inspector": {
        "inputs": {
          "listId": {
            "type": "text",
            "label": "List",
            "index": 1,
            "source": {
              "url": "/component/appmixer/hubspot/crm/ListLists?outPort=out",
              "data": {
                "transform": "./ListLists#listsToSelectArray"
              }
            },
            "tooltip": "Select the HubSpot contact list. Only MANUAL (static) lists can have members removed via the API."
          },
          "contactIds": {
            "type": "text",
            "label": "Contact IDs",
            "index": 2,
            "tooltip": "One contact ID or a comma-separated list of contact IDs."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "List ID",
          "value": "listId",
          "schema": {
            "type": "string",
            "example": "5"
          }
        },
        {
          "label": "Contact IDs",
          "value": "contactIds",
          "schema": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "151",
              "152"
            ]
          }
        },
        {
          "label": "Count",
          "value": "count",
          "schema": {
            "type": "integer",
            "example": 2
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
