timeTracking
Stops the currently running time tracking of the specified user.
Changed onThe request body is optional. You can provide a stopReason to indicate how the tracking was stopped. For external API clients, the stopReason is automatically set to "external-api" regardless of what is provided. For this operation to work there must be a running time tracking for the user.
<Check title="Required Permissions" icon="key">The user must be an admin or the creator.</Check>
post/users/{userId}/timetracking/stop
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/users/{userId}/timetracking/stop
- Auth: HTTP bearer
Path parameters
userIdstring uuid required
The id of the user.
Request body
Stop Time Tracking Form required
Form for stopping a time tracking.
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PostStopTimeTrackingByUserIdremoved and replaced withtimeTracking_PostStopTimeTrackingByUserId
- info