Delete Device Group Ip Pattern
1 min
DELETE
{{url}}/aioc-rest-web/rest/discovery/deleteDeviceGroupIpPattern
Header Parameters
- HoststringExample
- User-AgentstringExample
- AcceptstringExample
- Accept-LanguagestringExample
- Accept-EncodingstringExample
- RefererstringExample
- Content-TypestringExample
- ConnectionstringExample
- PragmastringExample
- Cache-ControlstringExample
- X-XSRF-TOKENstringExample
Body Parameters
- bodystringExample
{ "dbId": 118263, "deviceGroupId": "d8a5810e-f17e-43f4-8036-86a10c5e2ba0", "interfaceName": null, "action": "ALLOW", "ipPattern": "^10\\.20\\.40\\.(1([0-9][0-8])|2([0-4][0-8]|5[0-5]))$" }
Responses
200
curl
curl --request DELETE \
--url {{url}}/aioc-rest-web/rest/discovery/deleteDeviceGroupIpPattern \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
var requestOptions = {
method: 'DELETE',
headers: myHeaders,
redirect: 'follow'
};
fetch("{{url}}/aioc-rest-web/rest/discovery/deleteDeviceGroupIpPattern", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "net/http"
url = URI("{{url}}/aioc-rest-web/rest/discovery/deleteDeviceGroupIpPattern")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Delete.new(url)
request["accept"] = "application/json"
response = http.request(request)
puts response.read_body
python
import requests
url = "{{url}}/aioc-rest-web/rest/discovery/deleteDeviceGroupIpPattern"
payload = {}
headers = {
'accept': 'application/json'
}
response = requests.request("DELETE", url, headers=headers, data=payload)
print(response.text)
200
Success