Skip to main content
DELETE
/
{team_id}
/
time
/
tracking
/
lock
Unlock time entries (admin override)
curl --request DELETE \
  --url https://api.superthread.com/v1/{team_id}/time/tracking/lock \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "before": 1608742037016,
  "entry_ids": [
    "<string>"
  ]
}
'
{
  "affected_count": 42
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required

Team ID is an alphanumerical string that identifies a Team. This is externally referred to as a "Workspace".

Body

application/json

Specify either before (range unlock) or entry_ids (specific entries).

before
integer<int64> | null

unix timestamp in seconds

Example:

1608742037016

entry_ids
string[]

Explicit list of time entry ids to unlock.

Response

Unlock applied

affected_count
integer

Number of entries whose locked state changed as a result of the call.

Example:

42