Save Device Group Ip Pattern
1 min
POST
{{url}}/aioc-rest-web/rest/discovery/saveDeviceGroupIpPattern
urlstring
Hoststring
User-Agentstring
Acceptstring
Accept-Languagestring
Accept-Encodingstring
Refererstring
Content-Typestring
Connectionstring
Pragmastring
Cache-Controlstring
X-XSRF-TOKENstring
bodyobject
200saveDeviceGroupIpPattern
curl --request POST \
--url {{url}}/aioc-rest-web/rest/discovery/saveDeviceGroupIpPattern \
--header 'accept: application/json, text/plain, */*' \
--header 'content-type: application/json' \
--header 'host: localhost' \
--header 'user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0' \
--header 'accept-language: en-US,en;q=0.5' \
--header 'accept-encoding: gzip, deflate' \
--header 'referer: http://localhost' \
--header 'connection: keep-alive' \
--header 'pragma: no-cache' \
--header 'cache-control: no-cache' \
--header 'x-xsrf-token: {{csrftoken}}' \
--data '"{\n \"dbId\": 118263,\n \"deviceGroupId\": \"d8a5810e-f17e-43f4-8036-86a10c5e2ba0\",\n \"interfaceName\": null,\n \"action\": \"ALLOW\",\n \"ipPattern\": \"^10\\\\.20\\\\.40\\\\.(1([0-9][0-8])|2([0-4][0-8]|5[0-5]))$\"\n }"'