Skip to main content
POST
/
api
/
v2
/
tasks
/
{taskId}
/
update-screen-time
Update task screen time
curl --request POST \
  --url https://api.example.com/api/v2/tasks/{taskId}/update-screen-time \
  --header 'Content-Type: application/json' \
  --data '
{
  "additionalScreenTime": 1
}
'
"null"

Path Parameters

taskId
string
required

The unique identifier of the task for which to update screen time.

Body

application/json
additionalScreenTime
number
required

The additional screen time in milliseconds to add to the task's total.

Required range: x > 0

Response

enum<string> | null

Screen time updated successfully. No content returned.

Screen time updated successfully. No content returned.

Available options:
null