Actions34
- Administration Actions
- Components Actions
- Dropdowns Actions
- Management Actions
- Project Actions
- Rule Actions
- Session Actions
- Assistance Actions
- Assets Actions
Management → Delete
AI-generatedSummary
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