Actions134
- Activity Actions
- Activity Type Actions
- Call Actions
- Call Outcome Actions
- Comment Actions
- Company Actions
- Contact Actions
- Country Actions
- Currency Actions
- Deal Actions
- Document Actions
- Document Type Actions
- Industry Actions
- Note Actions
- Pipeline Actions
- Pipeline Stage Actions
- Product Actions
- Role Actions
- Source Actions
- Team Actions
- Timezone Actions
- Trashed Record Actions
- User Actions
Document Type → Delete
AI-generatedSummary
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
errormessage. 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