Unset locations by ids or all of them if you don’t specify any parameters.

// remove specific locations
client.unsetLocationsIds(['location1', 'location2', 'location3'])

// remove all locations
client.unsetLocationsIds()