How to set TimeZone thru API?

  • 1
  • Question
  • Updated 10 months ago
  • Answered
I was looking thru the API for how to set timezone and cannot find it.  Please correct me if/when I am wrong... is there not a way to set the timezone thru the API?
Photo of Corey Tenney

Corey Tenney

  • 302 Points 250 badge 2x thumb

Posted 10 months ago

  • 1
Photo of John Wang

John Wang, Official Rep

  • 5,826 Points 5k badge 2x thumb
You can update this via the update extension settings API:

PUT /restapi/v1.0/account/~/extension/~
    "regionalSettings": {
        "timezone": {
            "id": 58

You can get the supported timezone ids from the timezone endpoint:

GET /restapi/v1.0/dictionary/timezone

I have a post with some more information on how to do this here: