When a license is deleted
Sends a notification when a Digital Product License is deleted. Most commonly fires when an admin revokes a customer's access, or when a refund automatically strips the license.
The trigger covers both soft deletes (moved to the trash) and hard deletes. Restoring a deleted license fires the separate "When a license is restored" event.
Requires Digital Products
Only available when the Digital Products plugin is installed.
Digital Product Type Filters
Choose which Digital Product types should fire this notification. Only products of the selected types will trigger it.
For license events, the filter checks the parent product's type instead.

Selection is required
Check at least one product type, or the notification won't fire.
Field Conditions
Field conditions restrict the notification based on the element's content, using Craft's native conditions framework. Build a rule set against the element's attributes and field values, and the notification will be sent only when every rule matches.
Must match all conditions
The condition builder evaluates every rule with AND semantics, so each rule must pass for the notification to be sent.

Twig variables
The object variable (and its license alias) is the deleted License element.
License {{ license.licenseKey }} for "{{ license.product.title }}" was revoked.Examples
Notify the customer of a revoked license
Hi {{ license.licensedTo }},
Your license for {{ license.product.title }} has been revoked.
If you believe this is in error, please contact support.Alert admins of a revocation
License revoked.
- Product: {{ license.product.title }}
- Customer: {{ license.licensedTo }}
- Key: {{ license.licenseKey }}
- Revoked by: {{ currentUser.fullName }}