IT Glue Extended
Actions153
- Attachment Actions
- Checklist Actions
- Checklist Template Actions
- Configuration Actions
- Configuration Interface Actions
- Configuration Status Actions
- Configuration Type Actions
- Contact Actions
- Contact Type Actions
- Country Actions
- Document Actions
- Domain Actions
- Expiration Actions
- Export Actions
- Flexible Asset Actions
- Flexible Asset Field Actions
- Flexible Asset Type Actions
- Group Actions
- Location Actions
- Log Actions
- Manufacturer Actions
- Model Actions
- Operating System Actions
- Organization Actions
- Organization Status Actions
- Organization Type Actions
- Password Actions
- Password Category Actions
- Platform Actions
- Region Actions
- Related Item Actions
- SSL Certificate Actions
- Ticket Actions
- User Actions
- User Metric Actions
Document → Update
AI-generatedSummary
Updates an existing IT Glue document, document section, or document image by ID via a PATCH request, changing its name and/or content.
Inputs
- Document Resource (required) — Selects the target type: Document (default), Section, or Image. Determines the API endpoint (documents, document_sections, document_images) and which ID field is used.
- Document ID (required) — ID of the document. Shown as required in the UI. It is only read at runtime when Document Resource is Document.
- Section ID — ID of the section to update. Only read when Document Resource is Section, where it is required.
- Image ID — ID of the image to update. Only read when Document Resource is Image, where it is required.
- Name — New name. Sent only if non-empty.
- Content — New content (HTML or markdown). Sent only if non-empty.
Output shape
A single item holding the updated record, flattened. Attribute names are converted from kebab-case to camelCase, and id, type and any relationships are included.
Throws an error if the required ID is empty. Throws if neither Name nor Content is provided, because at least one field to update is required. Throws if IT Glue returns no data. Empty fields are omitted, so you can't use this operation to clear a value. The Parent Document ID field is only exposed for create, so it isn't used on update.
Examples
Example 1: Rewrite the body of an existing runbook document
Document Resource: Document; Document ID: 12345; Content: '
Updated steps…
'Example 2: Rename a section within a document
Document Resource: Section; Section ID: 987; Name: 'Recovery Procedure'