# ArcGisEarthAutomationApi.LayersApi

All URIs are relative to */*

Method | HTTP request | Description
------------- | ------------- | -------------
[**arcgisearthLayersTargetDelete**](LayersApi.md#arcgisearthLayersTargetDelete) | **DELETE** /arcgisearth/Layers/{target} | Remove layers by target

<a name="arcgisearthLayersTargetDelete"></a>
# **arcgisearthLayersTargetDelete**
> arcgisearthLayersTargetDelete(target, opts)

Remove layers by target

### Example
```javascript
import ArcGisEarthAutomationApi from 'arc_gis_earth_automation_api';

let apiInstance = new ArcGisEarthAutomationApi.LayersApi();
let target = "target_example"; // String | 
let opts = { 
  'apiVersion': "1.12-Alpha" // String | The requested API version
};
apiInstance.arcgisearthLayersTargetDelete(target, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **target** | **String**|  | 
 **apiVersion** | **String**| The requested API version | [optional] [default to 1.12-Alpha]

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

