This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Archives a location.
The archiveLocation()
function returns a Promise that resolves to the archived location.
The archiveLocation()
function changes a location's archived
property to true
.
Notes:
This function requires elevated permissions and runs only on the backend and on dashboard pages.
ID of the location to archive.