cURL
curl --request POST \ --url https://api.comm.com/api/v1/teams/{team}/switch \ --header 'Authorization: Bearer <token>'
{ "message": "Team switched" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The team ID
The response is of type object.
object