---
schema_version: "1"
id: 3fadfcd4d9ebd03f6a38303225aca5d58970a4c5a1538a61992a9a369f3eedf2
title: removeItems(pKeyList)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_modeler_listobject_remove_items.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_modeler_listobject_remove_items.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a66581c6164fe47f16d03849dc7f3d85773a4eeca048830a1bd23aee04470fe8
description: Removes all items corresponding to the given list of PKeys.
products:
  - Consumer Goods
release: "264"
---
# removeItems(pKeyList)

Removes all items corresponding to the given list of PKeys.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in <strong>Professional</strong>, <strong>Unlimited</strong>, and <strong>Enterprise</strong> Editions that have Consumer Goods Cloud enabled.</td></tr></tbody></table>

## Parameters

pKeyList: Array. List of primary keys.