Save Policy Realm
1 min
POST
{{url}}/aioc-rest-web/rest/policy/savePolicyRealm
urlstring
Content-Typestring
X-XSRF-TOKENstring
bodyobject
200Create Policy Realm
curl --request POST \
--url {{url}}/aioc-rest-web/rest/policy/savePolicyRealm \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-xsrf-token: {{csrftoken}}' \
--data '"{\r\n \"name\": \"realmByAPI\",\r\n \"description\": \"realmExample\",\r\n \"policyGroups\": [\r\n {\"dbId\": 376256}\r\n ],\r\n \"deviceRealms\": [\r\n {\"dbId\": 376284}\r\n ]\r\n}\r\n"'