LLW CRM icon

LLW CRM

Interact with LLW CRM API (Concord CRM)

Role → Delete

AI-generated

Summary

Deletes a single role in LLW CRM (Concord CRM) by ID, sending a DELETE request to the CRM's /roles/{id} endpoint.

Inputs

  • ID (required) — The ID of the role to delete (resourceId). Appended to the path as /roles/{ID}. Can be set with an expression to delete per input item.

Output shape

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

The exact response body (e.g. empty or a confirmation message) depends on the API; the node does not reshape it. Failures throw an API error, unless 'Continue On Fail' is enabled, in which case an item with an 'error' message is returned. Requires the llwCrmApi credential (domain and API token).

Examples

Example 1: Remove an obsolete role by a known ID

Resource: Role, Operation: Delete, ID: 12

Example 2: Delete roles whose IDs come from a previous node

Resource: Role, Operation: Delete, ID: {{ $json.id }}, with Continue On Fail enabled to skip failures

Links

Discussion