> ## 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.

# updateOnePackageEntitlement



**mutation** `updateOnePackageEntitlement(input: UpdateOnePackageEntitlementInput!): PackageEntitlement!`

## Arguments

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

## 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 UpdateOnePackageEntitlement($input: UpdateOnePackageEntitlementInput!) {
  updateOnePackageEntitlement(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": {
    "id": "value",
    "update": {}
  }
}
```

```json Response
{
  "data": {
    "updateOnePackageEntitlement": {
      "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

- [UpdateOnePackageEntitlementInput](https://docs.stigg.io/graphql-reference/types/UpdateOnePackageEntitlementInput.md)
- [updatePackageEntitlement](https://docs.stigg.io/graphql-reference/mutations/updatePackageEntitlement.md)
- [PackageEntitlementUpdateInput](https://docs.stigg.io/graphql-reference/types/PackageEntitlementUpdateInput.md)
- [UpdatePackageEntitlementInput](https://docs.stigg.io/graphql-reference/types/UpdatePackageEntitlementInput.md)
- [updateOnePromotionalEntitlement](https://docs.stigg.io/graphql-reference/mutations/updateOnePromotionalEntitlement.md)


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