Skip to main content
Answer

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

  • April 6, 2023
  • 5 replies
  • 56 views

Forum|alt.badge.img

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
Seasoned Practitioner
Forum|alt.badge.img+2

Hi @Gargi Bhosale,

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

Best regards,
Dilini 


Forum|alt.badge.img
  • Seasoned Practitioner
  • Answer
  • 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
Seasoned Practitioner
Forum|alt.badge.img+1
  • Head of Community
  • April 13, 2023

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

 


Forum|alt.badge.img
  • Author
  • Committed
  • April 14, 2023

Hi, this is resolved.

Thanks!


Anita Hæhre
Seasoned Practitioner
Forum|alt.badge.img+1
  • Head of Community
  • April 14, 2023

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