Triggered when a label is deleted.
function wixContacts_onLabelDeleted(event: LabelDeleted): void;
Metadata for the event.
// Place this code in the events.js file
// of your site's Backend section.
// Add the file if it doesn't exist.
export function wixContacts_onLabelDeleted(event) {
console.log("Label deleted", event);
}
/* Full event object:
* {
* "metadata": {
* "id": "64c54bac-5c9c-42b6-b43b-9143e6814b50",
* "entityId": "custom.customer-group-3",
* "eventTime": "2024-01-11T12:47:31.862945419Z",
* "triggeredByAnonymizeRequest": false
* }
* }
*/
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.