When it fires
Emitted before the soft-delete write so the event row is created against a still-valid workspace. Sent only when the owner deletes a workspace (the API doesn't expose delete, this is dashboard-only).
Workspaces are soft-deleted: rows remain in the database with deleted = true. Existing webhook endpoints are also disabled and will not receive any further events.
Payload
ts
{
type: 'workspace.deleted',
data: {
workspace: {
id: string
name: string
slug: string
}
}
}Example
json
{
"type": "workspace.deleted",
"data": {
"workspace": {
"id": "0192a1b2-c3d4-7000-8000-000000000001",
"name": "Acme",
"slug": "acme"
}
}
}