itemprototype.delete

    This method allows to delete item prototypes.

    This method is only available to Admin and Super admin user types. Permissions to call the method can be revoked in user role settings. See for more information.

    (object) Returns an object containing the IDs of the deleted item prototypes under the prototypeids property.

    Deleting multiple item prototypes

    Delete two item prototypes.
    Dependent item prototypes are removed automatically if master item or item prototype is deleted.

    Response:

    1. "jsonrpc": "2.0",
    2. "result": {
    3. "27356"
    4. ]
    5. },
    6. }

    CItemPrototype::delete() in ui/include/classes/api/services/CItemPrototype.php.