---
title: MetafieldAccessRevokePayload - Shop Partners API
description: Return type for the `metafieldAccessRevoke` mutation.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/payloads/MetafieldAccessRevokePayload
  md: https://shopify.dev/docs/api/shop-partners/latest/payloads/MetafieldAccessRevokePayload.md
---

# Metafield​Access​Revoke​Payload

payload

Return type for the `metafieldAccessRevoke` mutation.

## Fields

* user​Errors

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

  non-null

  List of errors that occured while executing the mutation.

***

## Mutations with this payload

* [metafield​Access​Revoke](https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldAccessRevoke)

  mutation

  Revoke shared access between a Metafield Primitive and a Client or Namespace for Primitives of which your Client is an Admin.

  * identifier

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

    required

    ### Arguments

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

  * targets

    [\[Target​Input!\]!](https://shopify.dev/docs/api/shop-partners/latest/input-objects/TargetInput)

    required

    A list of targets for whom to revoke access from the given resource.

  ***

***

## Map

### Mutations with this payload

* [metafield​Access​Revoke](https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldAccessRevoke)