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
Attendance → Delete
AI-generatedSummary
Delete an Attendance document in ERPNext HRMS by specifying its document name and API version.
Inputs
- API Version — Select the Frappe REST API version to use: 'v1' for /api/resource (Stable) or 'v2' for /api/v2/document (Frappe v16). Default is 'v1'.
- Document Name (required) — Specify the exact Frappe document name (usually the document ID) of the Attendance record to delete.
Output shape
a single JSON object confirming success with keys 'success' (boolean true) and 'name' (the document name deleted).
If the deletion is successful, the output is { success: true, name:
}. Errors are thrown otherwise. There is no pagination or additional data returned.
Examples
Example 1: Delete Attendance record with document name 'ATT-0001' via API version v1
Set resource to 'Attendance', operation to 'Delete', API Version to 'v1', Document Name to 'ATT-0001'