object itemprototype.delete(array itemPrototypeIds)
This method allows to delete item prototypes.
(array) IDs of the item prototypes to delete.
(object) Returns an object containing the IDs of the deleted item prototypes under the
Delete two item prototypes.
Dependent item prototypes are removed automatically if master item or item prototype is deleted.
CItemPrototype::delete() in frontends/php/include/classes/api/services/CItemPrototype.php.