PerfexCRM icon

PerfexCRM

Interact with PerfexCRM API

Actions181

Staff → Delete

AI-generated

Summary

Delete a staff member by their ID and transfer their associated data to another specified staff member before deletion.

Inputs

  • Staff ID (required) — The ID of the staff member to delete.
  • Transfer Data To (required) — The ID of the staff member to whom all data owned by the deleted staff member should be transferred.

Output shape

a single record representing the API response to the delete action

This operation returns the delete response from the PerfexCRM API; errors are thrown or can be optionally handled via continueOnFail. The transferDataTo parameter is passed as a query string indicating the target staff member for data transfer prior to deletion.

Examples

Example 1: Delete staff member with ID 123 and transfer their data to staff member with ID 456.

Staff ID = 123; Transfer Data To = 456; Operation = Delete; Resource = Staff

Discussion