List Project Groups via API


I’ve had a look on Github but have had no luck, is there a way using REST to list the project groups?



Hi Dan,

Thanks for getting in touch!

I always find it handy to check the API endpoint (<octopusURL/api/<spaceID>) list within a browser when searching for things like this.

The API endpoint /api/<spaceID>/projectgroups will return the details of each project group. You’d then just need to trim the JSON result as needed.

If you need it to list the projects within each group too, then you could combine it with this script sample and loop it through each project group.


Thank you

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.