Skip to main content
Seasoned ⭐️⭐️
April 6, 2023
Solved

Unable to see all the projects I have access to in the List projects API

  • April 6, 2023
  • 5 replies
  • 73 views

Hello team,

 

I am trying to use the list projects api ({{baseUrl}}/api/v1/projects) to get the list of available projects.

However, I can see only one project in the response.

If I check through the UI, I can see and access 5 projects in the same region.

Can you please help?

    Best answer by Jason Dressel

    Gargi,  You may not have the correct permissions to query the projects.  You will only see the projects you have permission to see :).  Were you using a service principal or your own user principal to execute the query?  The service principal will only see one project.


    Jason

    5 replies

    Dilini Fernando
    Expert ⭐️⭐️⭐️⭐️
    Expert ⭐️⭐️⭐️⭐️
    April 6, 2023

    Hi @Gargi Bhosale,

    I will create a Support ticket, so our team can follow up and help you.

    Best regards,
    Dilini 

    Expert ⭐️⭐️⭐️⭐️
    April 6, 2023

    Gargi,  You may not have the correct permissions to query the projects.  You will only see the projects you have permission to see :).  Were you using a service principal or your own user principal to execute the query?  The service principal will only see one project.


    Jason

    Anita Hæhre
    Expert ⭐️⭐️⭐️⭐️
    Head of Community
    April 13, 2023

    Hio @Gargi Bhosale just checking in to see of you could use more support from us on this? 

     

    Anita Hæhre
    Seasoned ⭐️⭐️
    April 14, 2023

    Hi, this is resolved.

    Thanks!

    Anita Hæhre
    Expert ⭐️⭐️⭐️⭐️
    Head of Community
    April 14, 2023

    Great to hear @Gargi Bhosale, let the community know when we can help again:) 

    Anita Hæhre