Save Policy Key
1 min
POST
{{url}}/aioc-rest-web/rest/policy/savePolicyKey
urlstring
Content-Typestring
X-XSRF-TOKENstring
bodyobject
200Create Policy Key
curl --request POST \
--url {{url}}/aioc-rest-web/rest/policy/savePolicyKey \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-xsrf-token: {{csrftoken}}' \
--data '"{\r\n \"key\": \"ls \",\r\n \"description\": \"ls\",\r\n \"type\": \"WHITE\",\r\n \"deviceTypes\": [\r\n \"linux\"\r\n ]\r\n}"'