Tutorial: Delete a geofence collection
You can delete a geofence collection from your AWS account using the Amazon Location console, the AWS CLI, or the Amazon Location APIs.
- Console
-
To delete a geofence collection using the Amazon Location console
Warning
This operation deletes the resource permanently.
-
Open the Amazon Location console at https://console.aws.amazon.com/location/
. -
Choose Geofence collections from the left navigation pane.
-
Under My geofence collection, select the target geofence collection.
-
Choose Delete geofence collection.
-
- API
-
Use the
DeleteGeofenceCollectionoperation from the Amazon Location APIs.The following example is an API request to delete the geofence collection
ExampleCollection.DELETE /geofencing/v0/collections/ExampleCollectionThe following is an example response for
DeleteGeofenceCollection:HTTP/1.1 200 - CLI
-
Use the
delete-geofence-collectioncommand.The following example is an AWS CLI command to delete the geofence collection
ExampleCollection.aws location delete-geofence-collection \ --collection-name "ExampleCollection"