Automation create team and add owner via API

  • 30 June 2022
  • 1 reply
  • 34 views

Hi,

 

We are busy to integrate Miro to our porfolio as standard application.

To achieve some automation I'm stuck on following topic.

 

We can create the team automaticly but we would like to add the owner aswell.

We need to get the ID of the user by reverse lookup via UPN of user. At this moment there is a limit of 100 users to get users from the organisations. Is there any easier way by using the UPN or looking up the id of a specific user?

 

  1. Create the team
  2. add owner

or in best case, create team based on a AD security group and add members based on members of this security group.


1 reply

Userlevel 6
Badge +4

Hey @Levent,

Thanks for reaching out about this, and good question. 😁

Have you had a chance to check out the PATCH Update Team Member endpoint? I believe this should enable you to update the owner of a team after it’s created by updating the member you’d like to be the owner. While it’s a separate API call, perhaps it will help you achieve this?

Let me know if it helps—thanks!
Will

Reply