v1
latestOpenAPI 3.0.02026-08-064311,0881.3 MBdataMaskingManagement
Update a data masking rule.
Update an existing data masking rule. Only the fields provided in the request are updated; omitted fields retain their current values. The rule name is immutable and cannot be changed after creation. Note: Changes to data masking rules may take up to 30 seconds to take effect.
put/v1/dataMaskingRules/{id}
Path parameters
idstring required
Identifier of the data masking rule to update.
Request body
Example request
{
"description": "Masks email addresses in application logs",
"regexPattern": "\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,6}\\b",
"maskString": "EMAIL_REDACTED"
}Response
The data masking rule was successfully modified.
Example response
{
"description": "Masks email addresses in application logs",
"regexPattern": "\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,6}\\b",
"maskString": "EMAIL_REDACTED",
"name": "Email Masking",
"createdAt": "2018-10-16T09:10:00Z",
"createdBy": "0000000006743FDD",
"modifiedAt": "2018-10-16T09:10:00Z",
"modifiedBy": "0000000006743FE8",
"id": "00000000FF42A0C3"
}