Actions34
- Administration Actions
- Components Actions
- Dropdowns Actions
- Management Actions
- Project Actions
- Rule Actions
- Session Actions
- Assistance Actions
- Assets Actions
Dropdowns → Update
AI-generatedSummary
Updates a GLPI dropdown entry (Calendar, Location, Manufacturer, or State) by sending a raw JSON payload or mapped fields.
Inputs
- entryId (required) — ID of the dropdown entry to update. Must be a positive integer.
- dropdownType (required) — Type of dropdown to manage: Calendar, Location, Manufacturer, or State.
- input — Raw JSON payload to send. When Send raw body is enabled, this is sent as the request body exactly as-is (no wrapper).
- sendRawBody — When enabled, the JSON provided in Input (raw) is sent as the request body exactly as-is (no wrapper).
- dataForm — A collection of fields to update (Name, Value). Only used when Send raw body is disabled.
- data — A collection of fields to update (Name, Description, Additional (JSON)). Only used when Send raw body is disabled.
Output shape
The full JSON response from the GLPI API for the updated entry.
Returns the complete API response object, including the updated entry details.
Examples
Example 1: Update a dropdown entry using raw JSON
dropdownType: Location, entryId: 5, sendRawBody: true, input: {"name": "Updated Location", "value": "updated_value"}
Example 2: Update a dropdown entry using mapped fields
dropdownType: Manufacturer, entryId: 10, sendRawBody: false, data: {"name": "New Manufacturer", "value": "new_value"}