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

# migratePackageFeatureGroupsToLatest

> Migrate package feature groups to latest version



**mutation** `migratePackageFeatureGroupsToLatest(input: MigratePackageFeatureGroupsToLatestInput!): Boolean!`

## Arguments

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

Input for migrating package feature groups to latest version

## Returns

`Boolean!`

## Examples

```graphql Mutation
mutation MigratePackageFeatureGroupsToLatest($input: MigratePackageFeatureGroupsToLatestInput!) {
  migratePackageFeatureGroupsToLatest(input: $input)
}
```

```json Variables
{
  "input": {
    "accountId": "value",
    "entitlements": [
      {
        "environmentId": "value",
        "featureId": "value",
        "packageId": "value"
      }
    ],
    "packageId": "value"
  }
}
```

```json Response
{
  "data": {
    "migratePackageFeatureGroupsToLatest": true
  }
}
```


## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [MigratePackageFeatureGroupsToLatestInput](https://docs.stigg.io/graphql-reference/types/MigratePackageFeatureGroupsToLatestInput.md)
- [featureGroupAssociatedLatestPackages](https://docs.stigg.io/graphql-reference/queries/featureGroupAssociatedLatestPackages.md)
- [FeatureGroupAssociatedLatestPackagesInput](https://docs.stigg.io/graphql-reference/types/FeatureGroupAssociatedLatestPackagesInput.md)
- [FeatureAssociatedLatestPackagesResultDTO](https://docs.stigg.io/graphql-reference/types/FeatureAssociatedLatestPackagesResultDTO.md)


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