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

Location → Bulk Delete

AI-generated

Summary

Deletes multiple IT Glue Location records in a single request by sending a JSON:API DELETE to the locations endpoint with a list of location IDs.

Inputs

  • IDs (required) — JSON array of location IDs to delete, e.g. ["123","456"]. Accepts a JSON string or an array (e.g. via expression). Each ID is converted to a string. An empty array, or a string that isn't a valid JSON array, makes the node throw an error that says bulkDelete requires a non-empty "IDs" array.

Output shape

A single item: { success: true, deleted: [] }.

The output only echoes the submitted IDs. It does not confirm per-record results, and IT Glue's response body is discarded. Deletion is permanent. API errors (401, 403, 429 or others) are raised as node errors, and 429s are retried up to 3 times with backoff. With Continue On Fail enabled, the item returns { error: message } instead. The operation runs once per input item.

Examples

Example 1: Remove two obsolete office locations by known IDs.

Resource: Location, Operation: Bulk Delete, IDs: ["1001","1002"]

Example 2: Delete locations whose IDs come from an earlier node's output.

Resource: Location, Operation: Bulk Delete, IDs set as an expression such as {{ JSON.stringify($input.all().map(i => i.json.id)) }}

Links

Discussion