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

# Revoke Promotional Entitlement

Revokes a previously granted promotional entitlement from a customer.

## Mutation

<CodeGroup>
  ```graphql Mutation theme={null}
  mutation RevokePromotionalEntitlement($input: RevokePromotionalEntitlementInput!) {
    revokePromotionalEntitlement(input: $input) {
      id
    }
  }
  ```

  ```json Variables theme={null}
  {
    "input": {
      "customerId": "customer-123",
      "featureId": "feature-premium"
    }
  }
  ```

  ```json Response theme={null}
  {
    "data": {
      "revokePromotionalEntitlement": {
        "id": "promo-123"
      }
    }
  }
  ```
</CodeGroup>

## Parameters

<ParamField body="input" type="RevokePromotionalEntitlementInput" required>
  Input for revoking a promotional entitlement

  <Expandable title="properties">
    <ParamField body="customerId" type="String" required>
      Customer reference ID
    </ParamField>

    <ParamField body="featureId" type="String" required>
      Feature reference ID
    </ParamField>

    <ParamField body="resourceId" type="String">
      Resource ID for multi-resource
    </ParamField>

    <ParamField body="environmentId" type="UUID">
      Environment ID
    </ParamField>
  </Expandable>
</ParamField>

## Return Type

Returns the revoked `PromotionalEntitlement` with its ID.

## Related Operations

* [Grant Promotional Entitlements](/api-and-sdks/api-reference/mutations/grant-promotional-entitlements) - Grant access
