Actions77
- Employee Actions
- Attendance Actions
- Employee Checkin Actions
- Expense Claim Actions
- Holiday List Actions
- Leave Allocation Actions
- Leave Application Actions
- Salary Slip Actions
- Shift Assignment Actions
- Custom DocType Actions
- Frappe Method Actions
Frappe Method → Delete
AI-generatedSummary
Delete a specified Frappe document by its document name using the ERPNext HRMS node, supporting two API versions (v1 and v2).
Inputs
- API Version (required) — Select which Frappe REST API version to use: 'v1' for stable /api/resource or 'v2' for /api/v2/document (Frappe v16).
- Method Name (required) — Full dotted path of a whitelisted Frappe method (although for Delete operation on Frappe Method resource, methodName is shown it is not used in execution for delete operation).
- Arguments JSON — Arguments as JSON to pass in the request body when calling a Frappe method (not applicable to Delete operation).
- Document Name (required) — The Frappe document's unique name or ID to delete.
Output shape
a JSON object indicating success and the name of the deleted document
The response confirms deletion with a success flag and echoes the deleted document name. Deletion uses the chosen API version endpoint. If an error occurs, it is thrown or returned in error envelope if 'continueOnFail' is set.