Skip to main content
Version: 8.1

system.groups.removeGroups

This function is used in Python Scripting.

Description​

Removes the specified groups from the project. The group paths are Folder/Path/To/GroupName, separated by forward slashes.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.groups.removeGroups(projectName, paths)

Parameters​

TypeParameterDescription
StringprojectNameThe project to remove from. If the project does not exist, throws an IllegalArgumentException.
List[String]pathsA list of paths to remove. Group paths are the full path to the resource, separated by forward slashes, e.g., "Folder/Path/To/GroupName".

Returns​

Nothing

Scope​

Gateway, Perspective Session

Code Examples​

Example #1 - Removing Transaction Group from Project
projName = "MyProject"
groups = ["Historical/Group1","DataSync/Group2"]

system.groups.removeGroups(projName, groups)