Skip to main content
PATCH
/
{team_id}
/
time
/
tracking
/
spaces
/
{project_id}
/
config
Update time tracking config for a space
curl --request PATCH \
  --url https://api.superthread.com/v1/{team_id}/time/tracking/spaces/{project_id}/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "space_time_tracking_config": {
    "team_id": "tDsu0j19",
    "project_id": "2700",
    "enabled": true
  }
}

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".

project_id
string
required

Project ID is a numerical string that identifies a Project. This is externally referred to as a "Space".

Body

application/json
enabled
boolean | null

Toggle time tracking for cards in this space.

Response

Updated space time tracking configuration

space_time_tracking_config
object