GLPI Rest API icon

GLPI Rest API

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

Tool Management → Update

AI-generated

Summary

Updates an existing GLPI item of the selected type (Knowledge Base Item, Project, Project Task, Reminder, RSS Feed, Saved Search) identified by Item ID.

Inputs

  • itemtype (required) — Type of item to update. Determines which optional fields are available via the Options collection and the endpoint segment of the PUT request. Options: Knowledge Base Item (KnowbaseItem), Project, Project Task, Reminder (Public) (Reminder), RSS Feed (Public) (RSSFeed), Saved Search (SavedSearch). Default: Project.
  • itemId (required) — Numeric ID of the item to update. Default: 0.
  • options — Collection of additional fields to include in the update payload. Which fields are shown depends on the selected Item Type (see individual field displayOptions). The current bundled implementation does not apply these values to the request body; an empty input object is sent. Default: empty object ({}). Contains the following sub‑fields: ...

Output shape

object

Returns the raw JSON response from the GLPI API for the performed PUT request. On error, if Continue On Fail is enabled, the error message is returned in an { error: string } field.

Examples

Example 1: Update a Project

Set Item Type = Project, Item ID = 42, Options → Code = PROJ‑XYZ, Priority = 2, Groups ID = 5, Manager User ID = 10, State ID = 3, Type ID = 1

Example 2: Update a Project Task

Set Item Type = ProjectTask, Item ID = 7, Options → As Child of (Task ID) = 3, Code = TASK‑01, Comments = 'Review completed', Groups ID = 2, Manager User ID = 8, Priority = 1, Milestone = true, State ID = 4, Type ID = 2

Discussion