CiviCRM icon

CiviCRM

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

Membership → Delete

AI-generated

Summary

Delete a Membership record in CiviCRM by specifying its internal ID.

Inputs

  • ID (required) — The internal CiviCRM ID of the membership to delete.
  • Runtime Bearer Token (Optional) — A JWT for a specific real user to use as the Authorization Bearer token for this call, bypassing the node's credential-based authentication.
  • Base URL Override — Optional override to replace the credential's Base URL for this API call, useful for using the same API key with multiple CiviCRM instances.

Output shape

a single JSON object indicating success with deleted membership ID, a message, and the raw API response from CiviCRM.

The output JSON includes { success: true, message: ' deleted', deleted_id: , api_response: }. If an error occurs, it will be thrown unless the node is configured to continue on fail.

Examples

Example 1: Delete a membership by ID 123 using the node's credential authentication.

Set Resource to 'Membership', Operation to 'Delete', and provide 123 as ID.

Links

Discussion