Skip to main content

Bulk Delete Events

DELETE 

/api/temu/webhook-events/bulk-delete

Deletes the given webhook events. Requires confirmation: "YES".

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Validation:

  • event_ids (array, required unless apply_to_all=true) — each id must exist in temu_webhook_events.
  • apply_to_all (bool, optional) — when true, resolves the id set from filters scoped to integration_instance_id.
  • integration_instance_id (int, required if apply_to_all=true).
  • filters (object, optional) — Spatie filter set forwarded to the repository.
  • confirmation (string, required) — must equal YES exactly.

Returns deleted_count: 0 if the resolved id set is empty.

Request

Responses

OK

Response Headers
    Content-Type