Method: importLocationCSV
Create locations with a provided CSV string.
Parameters
Name | Type | Description |
---|---|---|
locationGroup | string | Location group name |
csv | string | CSV data, data must be in a format where line 1 contains “name,ipmask” without quotes. Subsequent lines contain the “<location name>,<IP subnet/mask>” without quotes. |
overwrite | boolean | True to replace locations with the same name |
purge | boolean | True to remove locations not imported |
protect | boolean | True to prevent a location from being overwritten |
Returns
Returns a string status.