GLPI Rest API V2 icon

GLPI Rest API V2

GLPI Rest API Node compatible with GLPI 9.x and above.

Setup Management → Delete

AI-generated

Summary

Delete a setup management item via GLPI REST API v2.

Inputs

  • itemtype (required) — Type of setup management item to delete. Options include AssetDefinition, CronTask, DeviceBattery, DeviceCamera, DeviceCase, DeviceControl, DeviceDrive, Link, DeviceFirmware, Config, DeviceGeneric, DeviceGraphicCard, DeviceHardDrive, DeviceMemory, DeviceNetworkCard, DevicePci, Plugin, DevicePowerSupply, DeviceProcessor, MailCollector, SLM, DeviceSoundCard, DeviceMotherboard, Webhook. Default: AssetDefinition.
  • itemId (required) — Numeric ID of the setup management item to delete. Default: 0.

Output shape

object

The GLPI API response body as JSON, reflecting the deletion result.

Examples

Example 1: Delete a DeviceHardDrive with ID 42.

Set itemtype to DeviceHardDrive and itemId to 42. The node sends a DELETE request to /api.php/v2.1/DeviceHardDrive/42 with an authenticated Session-Token.

Discussion