In the orchestration we are able to create the users manually and able to add organization and teams also.
But through API we are unable to add organization and teams to the users.
We tried 2 different API’s to add organization and teams. But every time either organization or teams we are able to add but not both.
- Through teams API we create the user and able to add the teams not the organization.
API URL: /api/v2/teams/{team_id}/users/ - Through organization API we create the user and able to map the organization not the teams.
API URL: /api/v2/organizations/{org_id}/users/
But the other API also we tried that is User API. But in that case we are able to create only user.
Is there any possible way to add both the teams and organization to that user through API?
Please help!
Thanks in advance,