GLPI Rest API V2 icon

GLPI Rest API V2

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

Asset Management → Delete an Asset

AI-generated

Summary

Deletes a GLPI asset by issuing a DELETE request to the v2.1 API endpoint constructed from the selected asset type and provided asset ID.

Inputs

  • itemtype (required) — Type of asset to delete. Determines the API endpoint segment. Defaults to Computer if omitted; workflow authors should explicitly select the matching asset type from the dropdown to ensure correct routing in GLPI.
  • itemId (required) — The unique identifier (ID) of the asset instance to delete. Passed as a path parameter in the DELETE request.

Output shape

object

The raw JSON response returned by the GLPI API following a successful DELETE operation. Typical responses include a confirmation object or empty payload depending on GLPI configuration. Errors (e.g., invalid itemId, insufficient permissions) are surface‑level and propagated via n8n's error handling if continueOnFail is disabled.

Examples

Example 1: Remove a Computer asset with ID 42

itemtype: Computer, itemId: 42

Discussion