> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# unlinkFeatureGroupFromPackage

> Unlink feature group from package entitlement - remove group without removing the entitlements



**mutation** `unlinkFeatureGroupFromPackage(input: UnlinkFeatureGroupFromPackageInput!): [PackageEntitlement!]!`

## Arguments

**`input`**: `UnlinkFeatureGroupFromPackageInput!` (required)

Unlink feature group from package entitlements input

## Returns

`[PackageEntitlement!]!`

**`behavior`**: `EntitlementBehavior!`

The behavior of the entitlement

---

**`createdAt`**: `DateTime`

Timestamp of when the record was created

---

**`dependency`**: `FeatureDependency`

The feature dependency information for this entitlement (credit entitlements only). The entitlement value will be calculated based on the dependency feature usage limit

> Deprecated: Use dependencyFeature instead

---

**`dependencyFeature`**: `Feature`

The feature dependency information for this entitlement (credit entitlements only). The entitlement value will be calculated based on the dependency feature usage limit

---

**`description`**: `String`

The description of the entitlement

---

**`displayNameOverride`**: `String`

The display name override of the entitlement

---

**`enumValues`**: `[String!]`

The enum values of the entitlement

---

**`environmentId`**: `UUID!`

The unique identifier for the environment

---

**`feature`**: `Feature!`

---

**`featureGroupIds`**: `[String!]`

Feature group IDs associated with this entitlement

---

**`featureGroups`**: `[FeatureGroup!]`

Feature groups associated with this entitlement

---

**`featureId`**: `String!`

The unique identifier of the entitlement feature

---

**`hasSoftLimit`**: `Boolean`

Whether the entitlement has a soft limit

---

**`hasUnlimitedUsage`**: `Boolean`

Whether the entitlement has an unlimited usage

---

**`hiddenFromWidgets`**: `[WidgetType!]`

Whether the entitlement is hidden from widgets

---

**`id`**: `UUID!`

---

**`isCustom`**: `Boolean`

Whether the entitlement is a custom entitlement

---

**`isGranted`**: `Boolean!`

Whether entitlement grant is active

---

**`meter`**: `Meter`

---

**`order`**: `Float`

The order of the entitlement in the entitlement list

---

**`package`**: `PackageDTO`

---

**`packageId`**: `String!`

The unique identifier of the plan or add-on

---

**`resetPeriod`**: `EntitlementResetPeriod`

The reset period of the entitlement

---

**`resetPeriodConfiguration`**: `ResetPeriodConfiguration`

The reset period configuration of the entitlement

---

**`updatedAt`**: `DateTime`

Timestamp of when the record was last updated

---

**`usageLimit`**: `Float`

The usage limit of the entitlement

## Examples

```graphql Mutation
mutation UnlinkFeatureGroupFromPackage($input: UnlinkFeatureGroupFromPackageInput!) {
  unlinkFeatureGroupFromPackage(input: $input) {
    behavior
    createdAt
    dependency {
      description
      displayName
      featureType
      featureUnits
      refId
      usageLimit
    }
    dependencyFeature {
      account {
        accessMethod
        accountEmailDomain
        accountStatus
        defaultSSORoles {
          __typename
        }
        displayName
        emailDomains {
          __typename
        }
      }
      additionalMetaData
      createdAt
      description
      displayName
      enumConfiguration {
        deletedAt
        displayName
        value
      }
    }
    description
    displayNameOverride
  }
}
```

```json Variables
{
  "input": {
    "featureGroupId": "value",
    "packageId": "value"
  }
}
```

```json Response
{
  "data": {
    "unlinkFeatureGroupFromPackage": [
      {
        "behavior": "Increment",
        "createdAt": "value",
        "dependency": {
          "description": "string",
          "displayName": "string",
          "featureType": "BOOLEAN",
          "featureUnits": "string",
          "refId": "string",
          "usageLimit": 1.5
        },
        "dependencyFeature": {
          "account": {
            "accessMethod": "AUTHORIZED_DOMAIN",
            "accountEmailDomain": "string",
            "accountStatus": "ACTIVE",
            "defaultSSORoles": {
              "__typename": "AccessRoles"
            },
            "displayName": "string",
            "emailDomains": [
              {
                "__typename": "AccountEmailDomain"
              }
            ]
          },
          "additionalMetaData": "value",
          "createdAt": "value",
          "description": "string",
          "displayName": "string",
          "enumConfiguration": [
            {
              "deletedAt": "value",
              "displayName": "string",
              "value": "string"
            }
          ]
        },
        "description": "string",
        "displayNameOverride": "string"
      }
    ]
  }
}
```


## Related topics

- [UnlinkFeatureGroupFromPackageInput](https://docs.stigg.io/graphql-reference/types/UnlinkFeatureGroupFromPackageInput.md)
- [removeFeatureGroupFromPackage](https://docs.stigg.io/graphql-reference/mutations/removeFeatureGroupFromPackage.md)
- [linkFeatureGroupToPackage](https://docs.stigg.io/graphql-reference/mutations/linkFeatureGroupToPackage.md)
- [featureGroupAssociatedLatestPackages](https://docs.stigg.io/graphql-reference/queries/featureGroupAssociatedLatestPackages.md)
- [RemoveFeatureGroupFromPackageInput](https://docs.stigg.io/graphql-reference/types/RemoveFeatureGroupFromPackageInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.