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β
| Type | Parameter | Description |
|---|---|---|
| String | projectName | The project to remove from. If the project does not exist, throws an IllegalArgumentException. |
| List[String] | paths | A 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)