V2 Update Policy
Updates data for an existing policy, such as the dictionaries and also `name`, `type`, `contentTypes`, and `scopes`.
Last updated
Was this helpful?
Updates data for an existing policy, such as the dictionaries and also `name`, `type`, `contentTypes`, and `scopes`.
Last updated
Was this helpful?
🚧 ImportantDo not use this endpoint to create new policies. Use Create Policy.
❗️ WarningSending an empty list of dictionaries with this endpoint deletes all dictionaries for the policy and disables the policy.
🚧 Required PermissionsCalling this endpoint requires a Service User Account set with the Expression Filter Policy Management role. For more information about Service User accounts and their roles, see the Symphony Administration Guide.
See Bot Permissions for a list of roles and associated privileges.
Update the policy (name, type, contentTypes, scopes) and also the dictionaries for a policy. Warning: If you send empty list of dictionaries during the update operation, then all the dictionaries for this policy are deleted and policy is automatically disabled. Note: The policy should already exist.
/v1/dlp/policies/{policyId}
Unique dictionary identifier.
Session authentication token.
Key Manager authentication token.
Unique name of a policy, max 30 characters. Cannot be empty. All the leading and trailing blank spaces are trimmed.
Type of policy. Possible values "Block" or "Warn".
The list of content types that policy should apply to. Cannot be empty. Policy content types could be either of "Messages", "RoomMeta", "SignalMeta". Default is set to ["Messages"] if not specified.
List of dictionaries Ids for the policy.
List of communication scopes. Possible values are "Internal" (for Internal conversations) or "External" (for External conversations). You can apply both scopes if you set it to ["Internal", "External"].