Skip to main content
POST
Bulk-lock time entries before a date (admin)

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
before
integer<int64>

unix timestamp in seconds

Example:

1608742037016

Response

Lock applied

affected_count
integer

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

Example:

42