You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
[**remove_all_included_asset_groups**](SiteApi.md#remove_all_included_asset_groups) | **DELETE** /api/3/sites/{id}/included_asset_groups | Site Included Asset Groups
59
61
[**remove_asset_from_site**](SiteApi.md#remove_asset_from_site) | **DELETE** /api/3/sites/{id}/assets/{assetId} | Site Asset
60
62
[**remove_excluded_asset_group**](SiteApi.md#remove_excluded_asset_group) | **DELETE** /api/3/sites/{id}/excluded_asset_groups/{assetGroupId} | Site Excluded Asset Group
63
+
[**remove_excluded_targets**](SiteApi.md#remove_excluded_targets) | **DELETE** /api/3/sites/{id}/excluded_targets | Site Excluded Targets
61
64
[**remove_included_asset_group**](SiteApi.md#remove_included_asset_group) | **DELETE** /api/3/sites/{id}/included_asset_groups/{assetGroupId} | Site Included Asset Group
65
+
[**remove_included_targets**](SiteApi.md#remove_included_targets) | **DELETE** /api/3/sites/{id}/included_targets | Site Included Targets
62
66
[**remove_site_assets**](SiteApi.md#remove_site_assets) | **DELETE** /api/3/sites/{id}/assets | Site Assets
63
67
[**remove_site_tag**](SiteApi.md#remove_site_tag) | **DELETE** /api/3/sites/{id}/tags/{tagId} | Site Tag
64
68
[**remove_site_user**](SiteApi.md#remove_site_user) | **DELETE** /api/3/sites/{id}/users/{userId} | Site User Access
Adds one or more addresses to the site's list of excluded scan targets.
99
+
100
+
### Example
101
+
```python
102
+
from__future__import print_function
103
+
import time
104
+
import rapid7vmconsole
105
+
from rapid7vmconsole.rest import ApiException
106
+
from pprint import pprint
107
+
108
+
# create an instance of the API class
109
+
api_instance = rapid7vmconsole.SiteApi()
110
+
id=56# int | The identifier of the site.
111
+
scan_targets_to_add = [rapid7vmconsole.list[str]()] # list[str] | List of addresses to add to the site's excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. (optional)
**scan_targets_to_add** | **list[str]**| List of addresses to add to the site's excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. | [optional]
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Adds one or more addresses to the site's list of included scan targets.
149
+
150
+
### Example
151
+
```python
152
+
from__future__import print_function
153
+
import time
154
+
import rapid7vmconsole
155
+
from rapid7vmconsole.rest import ApiException
156
+
from pprint import pprint
157
+
158
+
# create an instance of the API class
159
+
api_instance = rapid7vmconsole.SiteApi()
160
+
id=56# int | The identifier of the site.
161
+
scan_targets_to_add = [rapid7vmconsole.list[str]()] # list[str] | List of addresses to add to the site's included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. (optional)
**scan_targets_to_add** | **list[str]**| List of addresses to add to the site's included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. | [optional]
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
192
+
89
193
# **add_site_tag**
90
194
> Links add_site_tag(id, tag_id)
91
195
@@ -777,7 +881,7 @@ No authorization required
777
881
778
882
Site
779
883
780
-
site.delete.description
884
+
Deletes the site with the specified identifier.
781
885
782
886
### Example
783
887
```python
@@ -2734,6 +2838,56 @@ No authorization required
2734
2838
2735
2839
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Removes one or more addresses from the site's list of excluded scan targets.
2847
+
2848
+
### Example
2849
+
```python
2850
+
from__future__import print_function
2851
+
import time
2852
+
import rapid7vmconsole
2853
+
from rapid7vmconsole.rest import ApiException
2854
+
from pprint import pprint
2855
+
2856
+
# create an instance of the API class
2857
+
api_instance = rapid7vmconsole.SiteApi()
2858
+
id=56# int | The identifier of the site.
2859
+
scan_targets_to_remove = [rapid7vmconsole.list[str]()] # list[str] | List of address to remove from the sites excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. (optional)
**scan_targets_to_remove** | **list[str]**| List of address to remove from the sites excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. | [optional]
2875
+
2876
+
### Return type
2877
+
2878
+
[**Links**](Links.md)
2879
+
2880
+
### Authorization
2881
+
2882
+
No authorization required
2883
+
2884
+
### HTTP request headers
2885
+
2886
+
-**Content-Type**: application/json
2887
+
-**Accept**: application/json;charset=UTF-8
2888
+
2889
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Removes one or more addresses from the site's list of included scan targets.
2947
+
2948
+
### Example
2949
+
```python
2950
+
from__future__import print_function
2951
+
import time
2952
+
import rapid7vmconsole
2953
+
from rapid7vmconsole.rest import ApiException
2954
+
from pprint import pprint
2955
+
2956
+
# create an instance of the API class
2957
+
api_instance = rapid7vmconsole.SiteApi()
2958
+
id=56# int | The identifier of the site.
2959
+
scan_targets_to_remove = [rapid7vmconsole.list[str]()] # list[str] | List of address to remove from the sites included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. (optional)
**scan_targets_to_remove** | **list[str]**| List of address to remove from the sites included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. | [optional]
2975
+
2976
+
### Return type
2977
+
2978
+
[**Links**](Links.md)
2979
+
2980
+
### Authorization
2981
+
2982
+
No authorization required
2983
+
2984
+
### HTTP request headers
2985
+
2986
+
-**Content-Type**: application/json
2987
+
-**Accept**: application/json;charset=UTF-8
2988
+
2989
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
0 commit comments