GET
/
webhook
/
file.didDelete
File Diddelete webhook event
curl --request GET \
  --url https://apix.us.amity.co/webhook/file.didDelete
{
  "networkId": "6848030d11c7e8b56c3570b5",
  "event": "file.didDelete",
  "data": {
    "fileId": "fileId",
    "fileUrl": "https://localhost/api/v3/files/fileId/download",
    "type": "file",
    "accessType": "public",
    "altText": null,
    "createdAt": "1900-01-01T00:00:00.000Z",
    "updatedAt": "1900-01-01T00:00:00.000Z",
    "attributes": {
      "name": "foobar.png",
      "extension": "png",
      "size": 8658,
      "mimeType": "image/png"
    }
  }
}

Response

200 - application/json

File deleted event information with file details

networkId
string

Network ID where the event occurred

event
enum<string>
Available options:
file.didDelete
data
object