# removeMetafieldsFromSkuGroup (https://developer.godaddy.com/en/docs/references/rest/catalog/sku-group/mutations/removeMetafieldsFromSkuGroup)

***

title: removeMetafieldsFromSkuGroup
description: "Remove metafields from an existing SKU Group."
full: true
----------

mutation

Requires `commerce.product:write`.

Remove metafields from an existing SKU Group.

## Required headers

| Header       | Required | Description                                                                                                                     |
| ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `x-store-id` | Yes      | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: `extensions.code: "UNAUTHENTICATED"`. |

Go to [Authentication](https://developer.godaddy.com/docs/api-users/auth) for credential setup.

## Arguments

* `id` `String!` **required**
* `input` `MutationRemoveMetafieldsFromSkuGroupInput!` **required**
  * `metafields` `[RemoveMetafieldInput!]!` **required**
    * `key` `String!` **required**
    * `namespace` `String!` **required**

## Possible returns

* `SKUGroup` `SKUGroup`

- `activatedAt` `DateTime` **nullable** — The timestamp of when the SKU was activated.
- `archivedAt` `DateTime` **nullable** — The timestamp of when the SKU was archived.
- `attributes` `SKUGroupAttributesConnection` **nullable** — Attributes of SKU Group.
- `channelAssociationMode` `String` **nullable** — The channel association mode for this SKU Group. Can be ALL (uses active channels registered to the store) or SELECTIVE (uses custom channel associations).
- `channels` `SKUGroupChannelsConnection` **nullable** — An association to a channel that exists in the Channel API.
- `compareAtPriceRange` `PriceRange` **nullable** — The compare-at price range of the SKU group, showing min and max compare-at prices of SKUs in the group.
- `createdAt` `DateTime!` **non-null** — The timestamp of when the SKU was created.
- `description` `String` **nullable** — The merchant defined description of the group.
- `htmlDescription` `String` **nullable** — HTML description for the SKU group. Will be used to display rich text content to customers.
- `id` `ID!` **non-null** — The globally-unique ID of the group.
- `label` `String` **nullable** — The display label of the group.
- `lists` `SKUGroupListsConnection` **nullable** — A list is a group of SKU groups that are generally organized by similar characteristics.
- `mediaObjects` `SKUGroupMediaObjectsConnection` **nullable** — Media objects stored under the SKU Group.
- `metafields` `SKUGroupMetafieldsConnection` **nullable**
- `name` `String!` **non-null** — A unique human-friendly identifier for the group.
- `options` `SKUGroupOptionsConnection` **nullable** — An option is a add-on that can be added on to a SKU group.
- `priceRange` `PriceRange` **nullable** — The price range of the SKU group, showing min and max prices of SKUs in the group.
- `references` `SKUGroupReferencesConnection` **nullable** — A reference to the resource in an external service. This can be useful for integrating the resource to any external service.
- `skuCount` `Int` **nullable** — The count of all SKUs associated with the SKU Group. Can be filtered by status. The default statuses are ACTIVE and DRAFT.
- `skus` `SKUGroupSkusConnection` **nullable** — A SKU represents a stock keeping unit (SKU) in the catalog.
- `status` `String!` **non-null** — The status of the SKU Group, one of `DRAFT`, `ACTIVE`, `ARCHIVED`.
- `type` `String!` **non-null** — The type of the SKU Group, typically PHYSICAL or DIGITAL, but can also be a custom type.
- `updatedAt` `DateTime!` **non-null** — The timestamp of when the SKU was updated.
- `HTMLDescription` `String` **nullable** deprecated — HTML description for the SKU group. Will be used to display rich text content to customers. Deprecated: Use htmlDescription instead.
- `shortLabel` `String` **nullable** deprecated — A short label for the group. Can be used instead of the label on smaller screens. Deprecated: Use channel-specific overrides for short labels.
- `SKUs` `SKUGroupSKUsConnection` **nullable** deprecated — A SKU represents a stock keeping unit (SKU) in the catalog. Deprecated: Use skus instead.
