GLPI Rest API V2 icon

GLPI Rest API V2

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

Management → Delete an Administration Item

AI-generated

Summary

Deletes an administration item from GLPI via the REST API V2.

Inputs

  • itemtype (required) — Type of administration item to delete.
  • itemId (required) — Numeric ID of the item to delete.

Output shape

JSON response from GLPI API v2.1.

Request is a DELETE to /api.php/v2.1/{itemtype}/{itemId} with a Session-Token header. No request body is sent. On failure with continueOnFail enabled, returns { error: }.

Examples

Example 1: Delete a Software License item with ID 42

Item Type: SoftwareLicense; Item ID: 42

Discussion