Actions181
- Invoice Actions
- Timesheet Actions
- Customer Actions
- Ticket Actions
- Lead Actions
- Project Actions
- Contract Actions
- Estimate Actions
- Expense Actions
- Proposal Actions
- Staff Actions
- Task Actions
- Credit Note Actions
- Item Actions
- Payment Actions
- Contact Actions
- Note Actions
- Knowledge Base Actions
- Knowledge Base Group Actions
- Subscription Actions
- Utility Actions
Staff → Delete
AI-generatedSummary
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