Hi Foram,

to fetch a name of projects where a specific user has an access to, you can use OpenStack CLI and a command:
openstack project list --user <user_id>

Is it possible without specifying a project?
Directly fetching all servers without specifying any project is not possible using the standard OpenStack API. This is because OpenStack requires a project context for most operations. The solution is to create a custom application or script that automates the process of retrieving data from multiple projects.

/Jan Wasilewski

czw., 5 gru 2024 o 14:29 <foram.thakkar@crestdata.ai> napisał(a):
Hello,
We want to fetch all the servers present in all the projects a user has access to. Currently we have to provide any one project name in the body of the authentication call. Is there a way we can fetch all the projects without providing any project name?