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/:id

Authorization

time:write_selfapi key scoperequired
Required scope when calling with an API key.

Path parameters

idstringrequired
Canonical 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_auth

No credentials provided

401
invalid_api_key

API key is invalid or revoked

400
bad_request

Missing or invalid request fields

403
scope_insufficient

Key lacks the required write scope

400
version_required

If-Match must contain the current positive integer version

409
version_conflict

Entry changed after the supplied version

423
entry_locked

Entry is submitted, approved, or period-locked