LLW CRM icon

LLW CRM

Interact with LLW CRM API (Concord CRM)

Document Type → Delete

AI-generated

Summary

Deletes a single document type in LLW CRM (Concord CRM) by ID, via a DELETE request to /document-types/{id}.

Inputs

  • ID (required) — The ID of the document type to delete. Appended to the /document-types endpoint path. Can be set per input item with an expression.

Output shape

One output item per input item, containing the JSON body the CRM API returns for the DELETE call. Each item is paired to its input item.

The exact response body depends on the API; the node does not shape it. If the API returns an array, each element becomes its own item. On error the node throws a NodeApiError, unless Continue On Fail is enabled, in which case it emits an item with an error message. Documents that use the type may cause the API to reject the delete, but the source does not show this.

Examples

Example 1: Remove an obsolete document type by a known ID.

Resource: Document Type, Operation: Delete, ID: 12

Example 2: Delete document types whose IDs come from an earlier node.

Resource: Document Type, Operation: Delete, ID: {{ $json.id }}; enable Continue On Fail to keep going past failures

Links

Discussion