---
title: "document_deleted"
method: POST
path: "document_deleted"
tags: ["Webhooks"]
---

# document_deleted

`POST document_deleted` (webhook)

A document was deleted.

Note that `entity_tags` on this event is an array of tag **names**, not objects. Most other events send objects.

## Payload

- object
  - `deleter_email` string, nullable
  - `deleter_name` string, nullable
  - `client_email` string, nullable
  - `client_name` string, nullable
  - `entity_type` string, nullable
  - `client_phone` string, nullable
  - `client_timezone` string, nullable
  - `entity_name` string, nullable
  - `document_name` string, nullable
  - `path` string, nullable
  - `external_entity_id` string, nullable
  - `entity_id` integer
  - `entity_tags` string[]: Tag names only. Used by `document_deleted` and `questionnaire_comment_added`; every other event sends objects.
  - `firm_role_summary` string: A formatted, human-readable summary of who holds which role on the entity, not structured data. Empty when no roles are assigned. Use `GET /entities/{entity_id}/firm_role_assignments` if you need the underlying ids.

## Acknowledgement `200`

Return any 2xx to acknowledge. Returning `410 Gone` deletes the subscription.

---

[API](https://skmtc.dev/soraban/apis/soraban-private-api.md) - [All operations](https://skmtc.dev/soraban/apis/soraban-private-api/llms.txt) - [OpenAPI document](https://skmtc.dev/soraban/apis/soraban-private-api/revisions/1c230fa547ad?raw)
