Delete time entry

DELETE/api/v1/time-entries/{time_entry_id}

Soft-delete (deactivate) a time entry.

Operation ID: delete_time_entry_api_v1_time_entries__time_entry_id__delete·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

time_entry_idstringrequired

Responses

200Successful Response

idstringrequired
business_idstringrequired
entry_datestring · daterequired
duration_minutesintegerrequired
descriptionstring
person_namestring
customer_idstring
customer_namestring
project_idstring
project_namestring
catalog_item_idstring
billablebooleanrequired
rate_centsinteger
billable_amountinteger

Computed billable amount in cents.

statusstringrequired
invoice_idstring
is_activebooleanrequired
created_atstring · date-timerequired
updated_atstring · date-timerequired

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject