./psadmin remove-dp -u amadmin -f ps_password -p myPortal1 -d "cn=hr_role,o=Developersample,dc=country,dc=sun,dc=com" -n "JSPTabContainer/bookmark3" -t channel
In the above example, psadmin remove-dp removes the channel bookmark3 from the container JSPTabContainer.
If you need to remove the channels that are added to a user or role, run the following command:
./psadmin remove-dp -u amadmin -f ps_password -p myPortal1 -d "cn=hr_role,o=Developersample,dc=country,dc=sun,dc=com"
This command removes all channels that are added to the role. It retains only the channels that are present in the Developersample.