SetInstanceTimeZoneAsync

Use this to update the instance TimeZone value. Returns (Task)

Overview of SetInstanceTimeZoneAsync goes here.

Name Description
instance The instance to set the timezone for
newTimeZone The new timezone string (e.g., “UTC”, “America/New_York”, “NZST-12NZDT,M9.5.0/2,M4.1.0/3”)

Set Instance Time Zone Async

Example in C#

// Returns: nothing
await client.SetInstanceTimeZoneAsync(InstanceInfo instance, String newTimeZone);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/timezone \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D'"NEW_POSIX_TIME_ZONE"'
            

UTC12

Example in C#