V2 Update Policy
Updates data for an existing policy, such as the dictionaries and also `name`, `type`, `contentTypes`, and `scopes`.
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".
Success
Client error, see response body for further details.
Unauthorized: Session tokens invalid.
Forbidden: Caller lacks necessary entitlement.
Server error, see response body for further details.
🚧 Important
❗️ Warning
🚧 Required Permissions
Last updated
Was this helpful?