code: async def destroy_unit(self, *unit_names):
          
          connection = self.connection()
          app_facade = client.ApplicationFacade.from_connection(connection)
  
          log.debug(
              'Destroying unit%s %s',
              's' if len(unit_names) == 1 else '',
              ' '.join(unit_names))
  
          return await app_facade.DestroyUnits(list(unit_names))
docs: Destroy units by name.