Skip to main content
Anchor to MetafieldDefinitionDeleteUserError

MetafieldDefinitionDeleteUserError

object

An error that occurs during the execution of MetafieldDefinitionDelete.

•MetafieldDefinitionDeleteUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Deletes a MetafieldDefinition. You can identify the definition by providing either its owner type, namespace, and key, or its global ID.

When you set deleteAllAssociatedMetafields to true, the mutation asynchronously deletes all Metafield objects that use this definition. This option must be true when deleting definitions under the $app namespace.

Learn more about deleting metafield definitions.


Was this section helpful?


Was this section helpful?