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