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?
Calling 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 .
See 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.
Unique dictionary identifier.
Session authentication token.
Key Manager authentication token.
The policy object to use for creating/updating a policy.
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.
Unique name of a policy, max 30 characters. Cannot be empty. All the leading and trailing blank spaces are trimmed.
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"].
Type of policy. Possible values "Block" or "Warn".
Policy Response