AsyncAPI channel · Codehooks
· Codehooks Events API
collection/beforeDelete
Triggered before a document is deleted from a collection. Allows validation or prevention of the deletion.
Channel address
collection/beforeDelete
Operations
subscribe
onBeforeDelete
Before document deletion hook
Messages
DeleteEvent
Event payload containing the document identifier targeted for deletion during delete hooks.
Content-Type:
application/jsonAbout AsyncAPI
The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.
Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.