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 ui/include/classes/api/services/CItemPrototype.php.