Save Masking Policy
1 min
POST
{{url}}/aioc-rest-web/rest/sc/sqlproxy/saveMaskingPolicy
urlstring
Content-Typestring
X-XSRF-TOKENstring
bodyobject
200Save Masking Policy
curl --request POST \
--url {{url}}/aioc-rest-web/rest/sc/sqlproxy/saveMaskingPolicy \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-xsrf-token: {{csrftoken}}' \
--data '"[\r\n {\r\n \"name\": \"new policy\",\r\n \"description\": \"new masking policy\",\r\n \"deviceDbId\": 390457,\r\n \"active\": true,\r\n \"rowLimit\": \"\",\r\n \"schema\": \"*\",\r\n \"table\": \"*\",\r\n \"column\": \"*\",\r\n \"methodDbId\": -261965\r\n }\r\n]\r\n"'