Early bird discounts live! Claim your offer

project.resource.deleted

Resource soft-deleted from a project.

This is the final event you will receive for the given resource_id. The row is retained with deleted_at stamped and disappears from the API.

When this fires

A resource is soft-deleted by the creator through the REST API or MCP. Existing subscriber access to the underlying chat is not revoked by this action and no member.resource_removed events follow from it.

Required ability

project-resource:view — token must carry this at mint time to subscribe an endpoint to this event.

Payload

{
  "id": "evt_01HX...",
  "type": "project.resource.deleted",
  "created_at": "2026-05-18T10:05:00Z",
  "api_version": "2026-05-01",
  "project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
  "data": {
    "resource": {
      "id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6",
      "title": "Sunday Slate Channel",
      "type": "channel",
      "chat_id": "e41a9b06-2c78-4f3d-95b2-08d7c1a5e934",
      "active": true
    }
  }
}

Field reference

FieldTypeNotes
idstring ULIDUnique event id, prefixed evt_. Use for idempotent processing.
typestringAlways project.resource.deleted for this event.
created_atISO 8601 timestampServer-side emission time.
api_versionstringWebhook API contract version.
project_idstring UUIDProject this event belongs to.
data.resourceobjectSnapshot of the resource as it was immediately before deletion.
data.resource.idstring UUIDResource that was soft-deleted.
data.resource.titlestringLast-known title.
data.resource.typestringOne of channel, group, supergroup, manual.
data.resource.chat_idstring UUID, nullableUUID of the linked telegram_chats record, or null for manual resources and unlinked rows — not Telegram's numeric chat id.
data.resource.activebooleanLast-known active flag.

Caveats

  • After this event, API endpoints scoped to the resource respond 404.

How is this guide?

On this page

Subscriby is a product designed by you — for you.

No boardroom full of executives deciding what we ships next. Our roadmap always shaped by you with your feedback.

Share feedback or a request