Skip to main content
Forces recalculation of entitlements for one or more customers.

Mutation

mutation RecalculateEntitlements($input: RecalculateEntitlementsInput!) {
  recalculateEntitlements(input: $input) {
    taskId
  }
}
{
  "input": {
    "customerIds": ["customer-123", "customer-456"],
    "environmentId": "env-123"
  }
}
{
  "data": {
    "recalculateEntitlements": {
      "taskId": "task-789"
    }
  }
}

Parameters

input
RecalculateEntitlementsInput
required
Input for recalculating entitlements

Return Type

Returns a RecalculateEntitlementsResult with a taskId.

Common Use Cases

Force recalculation when entitlements appear out of sync.
Recalculate after making changes to plan entitlements.