code: def delete(stack, region, profile):
      
      ini_data = {}
      environment = {}
  
      environment['stack_name'] = stack
      if region:
          environment['region'] = region
      else:
          environment['region'] = find_myself()
  
      if profile:
          environment['profile'] = profile
  
      ini_data['environment'] = environment
  
      if start_smash(ini_data):
          sys.exit(0)
      else:
          sys.exit(1)
docs: Delete the given CloudFormation stack.