Skip to content

delete_time_entry

Delete an existing time entry by its ID.

Summary

The delete_time_entry tool allows you to permanently remove a time entry from EARLY. This is useful for removing accidental entries or duplicates.

Parameters

Parameter Type Required Description
timeEntryId string Required The unique ID of the time entry to delete. You can find this ID using get_time_entries.

Behavior

Deletion Process

  1. Validation: Checks if timeEntryId is provided.
  2. Authentication: Verifies API credentials.
  3. API Call: Sends a DELETE request to EARLY API.
  4. Response: Confirms successful deletion.

Examples

Delete Entry

Delete Time Entry
{
  "timeEntryId": "te_123456"
}

Response:

✅ Time entry deleted successfully (ID: te_123456)

Error Scenarios

Error Cause Solution
"Time entry ID is required" Missing timeEntryId Provide the ID of the entry to delete
"Resource not found" Invalid ID or already deleted Verify ID with get_time_entries