GLPI Rest API V2 (Fork) icon

GLPI Rest API V2 (Fork)

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

Actions34

Management → Delete

AI-generated

Summary

Deletes a GLPI Management sub-resource (Budget, Cluster, Contact, Contract, DataCenter, Database, Document, Domain, License, Line, or Supplier) using its ID.

Inputs

  • subresource (required) — Select the Management sub-resource to delete (e.g., Contact, Contract).
  • itemid (required) — ID of the item to delete. Must be a positive number.
  • confirm — Confirm deletion (must be true to allow deletion).

Output shape

The deleted item data (or success message if no body is returned).

Returns the deleted item data; the API may return a success message instead of a body.

Examples

Example 1: Delete a Contact by ID

Sub-resource: Contact; Item ID: 42; Confirm: true

Example 2: Delete a Contract by ID

Sub-resource: Contract; Item ID: 15; Confirm: true

Links

Discussion