Docs
Set Default Geolocation
PATCH /organizations/{orgId}/default-geolocation
PATCH
/organizations/{orgId}/default-geolocationSets the organization's default location: the time zone of any event without a geolocation. geolocation is required and is a Location value as Maps_Geocode returns it; its timeZone is kept, or the API looks the zone up once from the coordinates. Returns 400 when Azure Maps is unavailable, and then nothing is saved. Closes any pending default-location lookup from organization creation. Returns the saved geolocation with its IANA zone. Needs Organization.Settings at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| geolocation | JsonElement | Optional |
Response
| Field | Type | Description |
|---|---|---|
| provider | string| null | |
| formattedAddress | string| null | |
| latitude | number | |
| longitude | number | |
| components | LocationComponents | |
| timeZone | string| null |
LocationComponents
| Field | Type | Description |
|---|---|---|
| street | string| null | |
| city | string| null | |
| region | string| null | |
| postalCode | string| null | |
| country | string| null |