This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates a location.
The updateLocation()
function returns a Promise that resolves to the updated location.
Each time a location is updated, its revision
increments by 1. The current revision
must be passed when updating the comment. This ensures you're working with the latest location and prevents unintended overwrites.
Notes:
location
parameter.location
parameter will be overwritten to null
.This function requires elevated permissions and runs only on the backend and on dashboard pages.
Location ID.
Updated location details.