catalog_user.

create_or_update_user_group

create_or_update_user_group(user_group: CatalogUserGroup)

Creates a new user group or overwrites an existing user group.

Parameters

nametypedescription
user_groupCatalogUserGroupUser group entity object.

Returns

None

Example

sdk.catalog_user.create_or_update_user_group(
    CatalogUserGroup.init(
        user_group_id="xyz",
        user_group_parent_ids=["demoGroup"]
    )
)