PATCH
/
v2
/
user
/
{user_id}
curl --request POST \
     --url {{BASE_URL}}/v2/user/ \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>' \
     --header 'Content-Type: application/json' \
     --data '
{
     "fallback_time_zone": "Europe/London",
     "fallback_birth_date" "1980-03-13"
}
'
204 No Content

Authorizations

x-vital-api-key
string
headerrequired

API key based authentication

Path Parameters

user_id
string
required

Body

application/json
fallback_time_zone
string
Fallback time zone of the user, in the form of a valid IANA tzdatabase identifier (e.g., `Europe/London` or `America/Los_Angeles`).
Used when pulling data from sources that are completely time zone agnostic (e.g., all time is relative to UTC clock, without any time zone attributions on data points).
fallback_birth_date
string

Fallback date of birth of the user, in YYYY-mm-dd format. Used for calculating max heartrate for providers that don not provide users' age.

ingestion_start
string

Starting bound for user data ingestion. Data older than this date will not be ingested.

ingestion_end
string

Ending bound for user data ingestion. Data newer than this date will not be ingested and the connection deregistered.