code: def unattach_team(context, id, team_id):
      
      team_id = team_id or identity.my_team_id(context)
      result = topic.unattach_team(context, id=id, team_id=team_id)
      if result.status_code == 204:
          utils.print_json({'id': id, 'message': 'Teams has been unattached.'})
      else:
          utils.format_output(result, context.format)
docs: unattach_team(context, id, team_id)
  
      Unattach a team from a topic.
  
      >>> dcictl topic-unattach-team [OPTIONS]
  
      :param string id: ID of the topic to unattach from [required]
      :param string team_id: ID of team to unattach from this topic,
          default is the current user team [optional]