Hi,
I have to change timezone for all organizations.
To do this, I am first trying to fetch all organizations
curl http://admin:admin@localhost:8912/api/orgs
[{“id”:1,“name”:“admin@localhost”},{“id”:2,“name”:“test_org”}]
and then loop over each organization id to change the preference of timezone.
Now, the problem is, I am unable to switch context(required to change the organization):
curl -X POST “http://admin:admin@localhost:8912/api/users/0/using/2”
{“message”:“Not a valid organization”}
Please help!
Regards,
Kavya K