Actions27
- Administration Management Actions
- Asset Management Actions
- Assistance Management Actions
- Management Actions
- Other Action Actions
- Setup Management Actions
- Tool Management Actions
Setup Management → Delete
AI-generatedSummary
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.