V2 Create Policy
Creates a new policy with dictionary references.
Last updated
Was this helpful?
Creates a new policy with dictionary references.
Last updated
Was this helpful?
After you create a policy, call Enable Policy to start enforcing 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.
Creates a new policy with dictionary references.
At the time of policy creation, the caller should only provide - contentTypes, name, scopes and type. The rest of the information is populated automatically.
Note - You need to enable the policy after creation to start enforcing the policy.
/v1/dlp/policies
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"].