listing project and modifying security for it

Srkanoje Registered Posts: 32 ✭✭✭✭

Hi all,

i have a instance were have more than 50 projects present which have been used by 2 different teams, so i want to export the project key for a specific team and modify the security settings.

can someone please suggest a code which can help to do both the thing in one go :
1) fetching the project keys for specific team
2) modifying security for the listed project.

Operating system used: linux


Setup Info
      Help me…