cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1044
Views
15
Helpful
4
Replies

How to use the API to move a room from one team to another

Robert Tomohamat
Cisco Employee
Cisco Employee

Hi folks,

 

I would like to programmatically move a Space (previously known as Room) from one Team to another. According to the API documentation, only a Room that is current unassigned, can be added to a Team. So I will probably have to remove it from the current Team first. Unfortunately, the API documentation does not mention how this can be done.

 

Does anybody here know which API call I can use to do this?

 

I would guess a PUT to /v1/rooms/{room id}, but how do I pass a parameter to take it out of a Team. I only see a way to add it.

https://developer.webex.com/docs/api/v1/rooms/update-a-room

 

Also, does anybody know the rationale behind the required parameter title, which I do not want to change. I don't see why this is required at all (it certainly makes no sense in my scenario).

4 Replies 4

boris.bayle
Level 1
Level 1

hello, same problem on my side.

The webex app allow to remove the space from a team. but not the webex api. Please a improvement of the api is required here, can you work on this topic? thanks

 

remove the space from the teamremove the space from the team

This would need to be a feature request which can be submitted via https://ciscocollabcustomer.ideas.aha.io.

dtibbe
VIP
VIP

As descriped in the update room endpoint Assignment between teams is unsupported. You may only add a non-team space to a team, but cannot remove it from a team.

Thanks dtibbe. Indeed, that's what I gathered from the documentation, was hoping for a creative way to unassign a Room from a Team, since it *can* be done from the Webex client.

If it cannot be done, I may leverage the web client, which isn't ideal.