- User
- Patch User
User
Patch User
PATCH
/v2/user/{user_id}
x-vital-api-key*
curl --request PATCH \
--url https://api.tryvital.io/v2/user/{user_id} \
--header 'x-vital-api-key: AUTH_VALUE'
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"
}
'
204 No Content
Parameters
user_idRequired
string
User Id
Body
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).
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"
}
'
204 No Content