PUT /config/network_hierarchy/staged_networks
Replaces the current network hierarchy with the input that is provided.
Replaces the current network hierarchy with the input that is provided.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
fields |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
network_hierarchy |
Array<Object> |
application/json |
Required - A JSON String that contains network hierarchy objects with the following fields:
|
[ { "id": 4, "group": "DMZ", "name": "External", "description": "network description", "cidr": "0.0.0.1/32", "domain_id": 0, "location": {"type": "Point", "coordinates": [-75.69805556, 45.41111111]}, "country_code": "CA" }, { "id": 5, "group": "DMZ", "name": "External", "description": "network description", "cidr": "0.0.0.2/32", "domain_id": 0, "location": {"type": "Point", "coordinates": [-66.646332, 45.964993]}, "country_code": "CA" } ] |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The network hierarchy was successfully replaced. |
|
422 |
1005 |
An invalid parameter was passed to the API call. |
500 |
1020 |
An unexpected error occurred during the creation of the network hierarchy. |
Response Description
- id - Integer - The ID of the network object.
- network_id - Integer - The ID of QRadar's network hierarchy.
- group - String - The group of the network object.
- name - String - The name of the network object.
- cidr - String - The CIDR range of the network object.
- description - String - The description of the network object.
- domain_id - Integer - The domain ID of the network object.
- location - Optional - JSON object - The GeoJSON location of the network object.
- country_code - Optional - String - The country code of the network object.
Response Sample
[
{
"cidr": "String",
"country_code": "String",
"description": "String",
"domain_id": 42,
"group": "String",
"id": 42,
"location": {
"coordinates": [
42.5
],
"type": "String"
},
"name": "String",
"network_id": 42
}
]