---
title: MetafieldDeletePayload - Shop Users API
description: Return type for the `metafieldDelete` mutation.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-users/latest/payloads/MetafieldDeletePayload
  md: https://shopify.dev/docs/api/shop-users/latest/payloads/MetafieldDeletePayload.md
---

# Metafield​Delete​Payload

payload

Return type for the `metafieldDelete` mutation.

## Fields

* deleted​Metafield

  [Metafield](https://shopify.dev/docs/api/shop-users/latest/objects/Metafield)

* user​Errors

  [\[User​Error!\]!](https://shopify.dev/docs/api/shop-users/latest/objects/UserError)

  non-null

  List of errors that occured while executing the mutation.

***

## Mutations with this payload

* [metafield​Delete](https://shopify.dev/docs/api/shop-users/latest/mutations/metafieldDelete)

  mutation

  Remove a Metafield corresponding to a definition from a user.

  * identifier

    [Custom​Data​Key​Pair​Input!](https://shopify.dev/docs/api/shop-users/latest/input-objects/CustomDataKeyPairInput)

    required

    ### Arguments

    Key and namespace pair that together form the path to the definition. Key is required, Namespace defaults to the Client's implicit, reserved namespace if not provided

  ***

***

## Map

### Mutations with this payload

* [metafield​Delete](https://shopify.dev/docs/api/shop-users/latest/mutations/metafieldDelete)