CiviCRM icon

CiviCRM

Interact with CiviCRM API v4 to manage contacts, memberships, groups, and more.

Activity → Delete

AI-generated

Summary

Delete an Activity record in CiviCRM by specifying its internal ID.

Inputs

  • ID (required) — The internal CiviCRM ID of the Activity to delete.
  • Runtime Bearer Token (Optional) — A JWT token for a specific real user to perform the deletion with their permissions. If set, it bypasses the node's credential-based authentication.
  • Base URL Override — Optional base URL to override the credential's configured URL, allowing targeting different CiviCRM instances using the same API key.

Output shape

a list of JSON objects, each confirming the deletion of the specified Activity ID including a success flag, message, deleted ID, and the raw API response from CiviCRM

Each output item corresponds to an input item processed. On success, the node returns a JSON object confirming deletion; on failure, if "Continue On Fail" is enabled, an error message is returned; otherwise, the node throws an error.

Examples

Example 1: Deleting a single Activity by ID

Set Resource to 'Activity' and Operation to 'Delete'. Provide the required 'ID' of the Activity to delete. Optionally provide a Runtime Bearer Token or Base URL Override if needed.

Links

Discussion