Pular para o conteúdo

Update Timezone

PATCH
/api/v1/profile/timezone

Update user timezone.

Accepts any valid IANA timezone (e.g., “America/Sao_Paulo”, “America/Manaus”). All datetime values across the platform will be automatically converted to the configured timezone.

TimezoneUpdateRequest

Schema for updating user timezone.

object
timezone
required
Timezone
string
Example
{
"timezone": "America/Sao_Paulo"
}

Successful Response

TimezoneResponse

Schema for timezone response.

object
timezone
required
Timezone
string
timezone_info
required
Timezone Info
object
Example
{
"timezone": "America/Sao_Paulo",
"timezone_info": {
"label": "Brasília (GMT-3)",
"name": "America/Sao_Paulo",
"offset": "-03:00",
"offset_seconds": -10800
}
}

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string