Save Masking Method
1 min
POST
{{url}}/aioc-rest-web/rest/sc/sqlproxy/saveMaskingMethod
urlstring
Content-Typestring
X-XSRF-TOKENstring
bodyobject
200
curl --request POST \
--url {{url}}/aioc-rest-web/rest/sc/sqlproxy/saveMaskingMethod \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-xsrf-token: {{csrftoken}}' \
--data '"{\r\n \"name\": \"new method\",\r\n \"methodPattern\": \"REGEXP_REPLACE(${column}, '\''[A-Za-z]'\'', '\''x'\'')\",\r\n \"hideColumn\": false,\r\n \"description\": \"new method masking\",\r\n \"columnType\": \"varchar\"\r\n}"'