‎2020 Nov 04 5:49 PM
I got the task to list all org-members in all subaccounts and spaces which have a specific mail account. I don't want to do this task manually because of the number of subaccounts and spaces.
Therefore I tried to talk to the REST API via Python but I didn't got through the authentication.
Another solution I tried was to do it via CLI. With this solution I got through the authentication but I didn't know how to automatically write down the org-members. So in specific I dont know how to connect python to CLI.
Therefore I wanted to ask:
-> is it possible to access the SCP API via Python?
-> Are there any beginner tutorials on how to access the API (like step-by-step tutorials)?
-> Is it possible to connect CLI to python to make the access to the API much easier?
-> Which solution is earsier: Using Rest API or CLI?
Thanks in advance!