Triggered when a folder is deleted.
If the movedToTrash
property in the event object is true
, the folder was moved to the Media Manager's trash bin. If the movedToTrash
property in the event object is false
, the folder was permanently deleted.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.media.site_media.v1.folder
.
Event name. Expected deleted
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.media.site_media.v1.folder_deleted",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"id": "44bb8fd1-ee47-4673-9aez-26783569dcf2",
"entityFqdn": "wix.media.site_media.v1.folder",
"slug": "deleted",
"entityId": "25284aa06584441ea94338fdcfbaba12",
"deletedEvent": {
"movedToTrash": false
},
"eventTime": "2023-01-05T14:06:11.408Z",
"triggeredByAnonymizeRequest": false
}