I assume it is something like this, but I am having no luck
pcli list -i -pr"our project database" -zt"Workspace"
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
pcli list -pr"ProjectDatabase" -id"Username:Password" -l -ztWorkspace /@/Public/*
pcli list -pr"ProjectDatabase" -id"Username:Password" -l -ztWorkspace /@/Username/*