Docs

Set Default Geolocation

PATCH /organizations/{orgId}/default-geolocation

PATCH/organizations/{orgId}/default-geolocation

Sets 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

FieldTypeRequiredDescription
orgIduuidRequired

Request Body

FieldTypeRequiredDescription
geolocationJsonElementOptional

Response

FieldTypeDescription
providerstring| null
formattedAddressstring| null
latitudenumber
longitudenumber
componentsLocationComponents
timeZonestring| null

LocationComponents

FieldTypeDescription
streetstring| null
citystring| null
regionstring| null
postalCodestring| null
countrystring| null