DeleteItems

EventNames:

  • DeleteItems_Restrictions

  • DeleteItems_Pre

  • DeleteItems_Post

Parameters

Type

Name

Description

Item[]

items (deletedItems in POST)

The items which should get / are deleted.

bool

successful

Post:
The information whether the Web Service call was successful or not is only available in Post events.

Examples:
DeleteItems_Restrictions:

Register-VaultEvent -EventName DeleteItems_Restrictions -Action 'RestrictDeleteItems'

function RestrictDeleteItems($items) {
	#Write event code here
}

DeleteItems_Pre:

Register-VaultEvent -EventName DeleteItems_Pre -Action 'PreDeleteItems'

function PreDeleteItems($items) {
	#Write event code here
}

DeleteItems_Post:

Register-VaultEvent -EventName DeleteItems_Post -Action 'PostDeleteItems'

function PostDeleteItems($deletedItems, $successful) {
	#Write event code here
}