Matter Delete

Matter delete request example:

curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "matter/delete",
"target_url": "URL"
}'

Matter delete response example:

{
  "entity_name": "matter",
  "event_type": "delete",
  "data": {
    "matter_id": "wfgy5di2d2r3a3a6",
    "display_name": "John (deleted)",
    "deleted": true,
    "staff_id": "9l9oo6b9685v4iph",
    "created_at": "2023-04-30T20:27:35.000+03:00",
    "updated_at": "2023-04-30T21:04:54.000+03:00",
    "business_id": "04ba9ryyvso5v256"
  }
}