IT Glue Extended icon

IT Glue Extended

Search and manage IT Glue documentation: organizations, configurations, contacts, passwords (create/rotate — values never returned to AI), documents, flexible assets, SSL certificates, tickets, and more. Use for IT asset lookup, MSP documentation, password rotation, and config inventory.

Actions153

Attachment → Bulk Delete

AI-generated

Summary

Deletes multiple attachments from one IT Glue parent record in a single DELETE request, and returns a success object listing the IDs sent.

Inputs

  • Resource Type (required) — Type of the parent resource that owns the attachments, e.g. configurations, contacts, documents, domains, locations, passwords, flexible_assets, ssl_certificates, checklists, checklist_templates, tickets.
  • Resource ID (required) — ID of the parent resource. Together with Resource Type it forms the endpoint {resourceType}/{resourceId}/relationships/attachments.
  • Attachment IDs — JSON array of attachment IDs to delete, e.g. ["123","456"]. The source reads this parameter (attachmentIds) and throws an error if it isn't a non-empty array.
  • IDs — A second JSON array field (bulkIds) shown for this operation. The attachment handler does not read it, so use Attachment IDs instead.

Output shape

One item: { success: true, deleted: [<the IDs you supplied>] }.

Fails with an error if Resource Type or Resource ID is empty, or if Attachment IDs is not a non-empty array. The deleted list echoes your input and is not confirmed per ID by IT Glue. If the JSON field is passed as a string rather than a parsed array, the Array.isArray check fails and the operation errors. The API call retries on HTTP 429. If Continue On Fail is enabled, errors are returned as { error } items.

Examples

Example 1: Remove two outdated attachments from a configuration

Resource Type: Configuration; Resource ID: 4521; Attachment IDs: ["9001","9002"]

Links

Discussion