Using BLCLI we can only delete smart depot group. There is no such command to delete a static depot group. we can only check if the group exists.
You may want to have a look at unreleased commands Unreleased blcli commands and documentation
are you trying to delete a depot FILE or depot FOLDER ?
DepotGroup deleteGroupByQualifiedName "/the/group"
DepotFile deleteFileByGroupAndName "/the/group" "depotFile"
This will be an unreleased command, it is always worth having a copy of the generated HTML list of all commands to hand.
Although now that these are maintained on BMC docs it would be good idea if these also showed the unreleased ones.
1 of 1 people found this helpful
Thanks Guys for your help yes it is in unreleased command I was trying delete folder under depot.
Here is the full command , the command is somewhat different when executing unreleased one, you can execute like this
blcli -Dcom.bladelogic.cli.debug.release-only="false" DepotGroup deleteGroupByQualifiedName "$PACKAGEGROUP"
Or use blcli_execute which runs unreleased commands without any switches