---
title: metafieldsDelete - Customer API
description: Deletes multiple metafields in bulk.
api_version: unstable
api_name: customer
source_url:
  html: 'https://shopify.dev/docs/api/customer/unstable/mutations/metafieldsDelete'
  md: 'https://shopify.dev/docs/api/customer/unstable/mutations/metafieldsDelete.md'
---

# metafields​Delete

mutation

Deletes multiple metafields in bulk.

## Arguments

* metafields

  [\[Metafield​Identifier​Input!\]!](https://shopify.dev/docs/api/customer/unstable/input-objects/MetafieldIdentifierInput)

  required

  A list of identifiers specifying metafields to delete. At least one identifier must be specified.

***

## Metafields​Delete​Payload returns

* deleted​Metafields

  [\[Metafield​Identifier\]](https://shopify.dev/docs/api/customer/unstable/objects/MetafieldIdentifier)

  List of metafield identifiers that were deleted, null if the corresponding metafield isn't found.

* user​Errors

  [\[Metafields​Delete​User​Error!\]!](https://shopify.dev/docs/api/customer/unstable/objects/MetafieldsDeleteUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### metafieldsDelete reference
