# Delete Time Entry Delete a time entry. This permanently removes the time entry from the system. Requires workspace owner or executive manager permissions. Important Notes: - The workspace_id must be provided in the request body - The time entry identifier in the path must be a valid encrypted UUID - Only time entries within the authenticated user's workspace can be deleted Endpoint: DELETE /time-entries/{time_entry_id} Version: 2.0.0 Security: oauth2, apiKey ## Path parameters: - `time_entry_id` (string, required) Encrypted UUID identifier of the time entry to delete Example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ## Request fields (application/json): - `workspace_id` (integer, required) ID of the workspace Example: 1 ## Response 200 fields (application/json): - `success` (boolean) Example: true - `message` (string) Example: "Time entry deleted successfully" - `meta` (object) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) Example: "2026-01-29T12:00:00.000000Z" ## Response 400 fields (application/json): - `success` (boolean) - `message` (string) Example: "workspace_id is required in request body" - `meta` (object) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) Example: "2026-01-29T12:00:00.000000Z" ## Response 401 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 403 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 404 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 422 fields (application/json): - `success` (boolean) - `message` (string) Example: "Invalid time entry identifier provided" - `meta` (object) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) Example: "2026-01-29T12:00:00.000000Z" ## Response 500 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string)