---
title: "feature.deleted"
method: POST
path: "/webhook-events/feature.deleted"
tags: ["Webhook Events"]
---

# feature.deleted

`POST /webhook-events/feature.deleted`

Fired when a feature is deleted. Doc-only for parsing.

## Response `200`

Webhook payload

- WebhookDtoFeatureWebhookPayload
  - `event_type` 'subscription.created' | 'subscription.draft.created' | 'subscription.activated' | 'subscription.updated' | 'subscription.paused' | 'subscription.cancelled' | 'subscription.resumed' | 'subscription.phase.created' | 'subscription.phase.updated' | 'subscription.phase.deleted' | 'feature.created' | 'feature.updated' | 'feature.deleted' | 'feature.wallet_balance.alert' | 'entitlement.created' | 'entitlement.updated' | 'entitlement.deleted' | 'wallet.created' | 'wallet.updated' | 'wallet.terminated' | 'wallet.transaction.created' | 'payment.created' | 'payment.updated' | 'payment.failed' | 'payment.success' | 'payment.pending' | 'customer.created' | 'customer.updated' | 'customer.deleted' | 'invoice.update.finalized' | 'invoice.update.payment' | 'invoice.update.voided' | 'invoice.update' | 'invoice.payment.overdue' | 'wallet.credit_balance.dropped' | 'wallet.credit_balance.recovered' | 'wallet.ongoing_balance.dropped' | 'wallet.ongoing_balance.recovered' | 'subscription.renewal.due' | 'invoice.communication.triggered' | 'credit_note.created' | 'credit_note.updated'
  - `feature` FeatureResponse
    - `alert_settings` TypesAlertSettings
      - `alert_enabled` boolean
      - `critical` TypesAlertThreshold
        - `condition` 'above' | 'below'
        - `threshold` number
      - `info` TypesAlertThreshold
        - `condition` 'above' | 'below'
        - `threshold` number
      - `warning` TypesAlertThreshold
        - `condition` 'above' | 'below'
        - `threshold` number
    - `created_at` string, date-time
    - `created_by` string
    - `description` string
    - `environment_id` string
    - `group` GroupResponse
      - `created_at` string, date-time
      - `entity_ids` string[]
      - `entity_type` string
      - `id` string
      - `lookup_key` string
      - `metadata` object
      - `name` string
      - `status` string
      - `updated_at` string, date-time
    - `group_id` string
    - `id` string
    - `lookup_key` string
    - `metadata` TypesMetadata
    - `meter` MeterResponse
      - `aggregation` MeterAggregation
        - `bucket_size` 'MONTH' | 'MINUTE' | '15MIN' | '30MIN' | 'HOUR' | '3HOUR' | '6HOUR' | '12HOUR' | 'DAY' | 'WEEK' | 'MONTH'
        - `expression` string — Expression is an optional CEL expression to compute per-event quantity from event.properties. When set, it replaces Field-based extraction. Property names are used directly (e.g., token * duration * pixel).
        - `field` string — Field is the key in $event.properties on which the aggregation is to be applied For ex if the aggregation type is sum for API usage, the field could be "duration_ms" Ignored when Expression is set.
        - `group_by` string — GroupBy is the property name in event.properties to group by before aggregating. Currently only supported for MAX aggregation with bucket_size. When set, aggregation is applied per unique value of this property within each bucket, then the per-group results are summed to produce the bucket total.
        - `multiplier` string — Multiplier is the multiplier for the aggregation For ex if the aggregation type is sum_with_multiplier for API usage, the multiplier could be 1000 to scale up by a factor of 1000. If not provided, it will be null.
        - `type` 'COUNT' | 'SUM' | 'AVG' | 'COUNT_UNIQUE' | 'LATEST' | 'SUM_WITH_MULTIPLIER' | 'MAX' | 'WEIGHTED_SUM'
      - `created_at` string, date-time
      - `event_name` string
      - `filters` MeterFilter[]
        - `key` string — Key is the key for the filter from $event.properties Currently we support only first level keys in the properties and not nested keys
        - `values` string[] — Values are the possible values for the filter to be considered for the meter For ex "model_name" could have values "o1-mini", "gpt-4o" etc
      - `id` string
      - `name` string
      - `reset_usage` 'BILLING_PERIOD' | 'NEVER'
      - `status` string
      - `tenant_id` string
      - `updated_at` string, date-time
    - `meter_id` string
    - `name` string
    - `reporting_unit` TypesReportingUnit
      - `conversion_rate` number — Multiplier: reporting_unit_value = unit_value * conversion_rate; must be > 0
      - `unit_plural` string — Display unit label, plural (e.g. "seconds")
      - `unit_singular` string — Display unit label, singular (e.g. "second")
    - `status` 'published' | 'deleted' | 'archived'
    - `tenant_id` string
    - `type` 'metered' | 'boolean' | 'static'
    - `unit_plural` string
    - `unit_singular` string
    - `updated_at` string, date-time
    - `updated_by` string

## Changes

- **2026-04-04** `3d452eb9ebcc` — 42 warning
  - added the new `credit_note.created` enum value to the `event_type` response property for the response status `200`
  - added the new `credit_note.updated` enum value to the `event_type` response property for the response status `200`
  - added the new `customer.created` enum value to the `event_type` response property for the response status `200`
  - added the new `customer.deleted` enum value to the `event_type` response property for the response status `200`
  - …38 more
- **2026-03-20** `fdc2d8c76b76` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/webhook-events/feature.deleted/post.md)

---

[API](https://skmtc.dev/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.dev/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/revisions/2a40f94de722/schema)
