Skip to main content
Anchor to metafieldNamespaceDelete

metafieldNamespaceDelete

mutation

Destroy a Namespace and remove any shared Access. MetafieldDefinitions shared to the Namespace will not be deleted, but their association with the namespace will be removed.

•CustomDataKeyPairInput!
required

This argument accepts an object that consists of a key and an optional namespace. The key is a mandatory attribute that represents a specific element within a namespace. The namespace attribute, if provided, should be a period-delimited string representing the hierarchical path to the desired namespace. This is applicable in cases where the desired namespace is nested within other namespaces. In the absence of a provided namespace, the system will default to the client's implicit, reserved namespace.


Was this section helpful?

Anchor to MetafieldNamespaceDeletePayload returnsMetafieldNamespaceDeletePayload returns

•MetafieldNamespace
•[UserError!]!
non-null

List of errors that occured while executing the mutation.


Was this section helpful?