GLPI Rest API V2 (Fork) icon

GLPI Rest API V2 (Fork)

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

Actions34

Components → Create

AI-generated

Summary

Create a new GLPI component definition or an instance under an existing component definition.

Inputs

  • itemtype (required) — Type of component (e.g., Battery, Processor, Memory).
  • title (required) — Name or title for the definition or instance.
  • createInstance — If true, creates an instance under a definition; otherwise creates a definition.
  • definitionId — Required when creating an instance; specifies the component definition ID.
  • description — Description or notes for the component.
  • input — Additional data collection; contains a 'custom' field for optional JSON.

Output shape

The created item (JSON response).

Returns the full JSON response from the GLPI API.

Examples

Example 1: Create a new Memory component definition.

Item Type: Memory, Title: Server RAM 32GB, Description: DDR4 ECC RAM

Example 2: Create a new instance of an existing Processor definition.

Item Type: Processor, Create Instance: true, Definition ID: 42, Title: CPU-01

Links

Discussion