Void my time entry
Governed soft-void of an editable self-owned entry. Send the current version in the If-Match header; financial history is never physically deleted.
DELETE
/api/v1/time-entries/:idAuthorization
time:write_selfapi key scoperequiredRequired scope when calling with an API key.
Path parameters
idstringrequiredCanonical time-entry ID
Example: time_01k2...
Request
curl -X DELETE "https://www.digitalstack360.com/api/v1/time-entries/time_01k2..." \
-H "Authorization: Bearer $DS_API_KEY" \
-H "If-Match: 1"Examples use a placeholder key from your environment. Store your key in $DS_API_KEY — never commit it.
Response
200 OK
{
"data": {
"id": "time_01k2...",
"status": "voided",
"version": 2
},
"meta": {
"idempotency_replayed": false,
"self_scoped": true
}
}Errors
401
missing_authNo credentials provided
401
invalid_api_keyAPI key is invalid or revoked
400
bad_requestMissing or invalid request fields
403
scope_insufficientKey lacks the required write scope
400
version_requiredIf-Match must contain the current positive integer version
409
version_conflictEntry changed after the supplied version
423
entry_lockedEntry is submitted, approved, or period-locked