code: def servicegroup_delete(sg_name, **connection_args):
      '''
      Delete a new service group
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' netscaler.servicegroup_delete 'serviceGroupName'
      '''
      ret = True
      sg = _servicegroup_get(sg_name, **connection_args)
      if sg is None:
          return False
      nitro = _connect(**connection_args)
      if nitro is None:
          return False
      try:
          NSServiceGroup.delete(nitro, sg)
      except NSNitroError as error:
          log.debug('netscaler module error - NSServiceGroup.delete() failed: %s', error)
          ret = False
      _disconnect(nitro)
      return ref servicegroup_delete(sg_name, **connection_args):
      '''
      Delete a new service group
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' netscaler.servicegroup_delete 'serviceGroupName'
      '''
      ret = True
      sg = _servicegroup_get(sg_name, **connection_args)
      if sg is None:
          return False
      nitro = _connect(**connection_args)
      if nitro is None:
          return False
      try:
          NSServiceGroup.delete(nitro, sg)
      except NSNitroError as error:
          log.debug('netscaler module error - NSServiceGroup.delete() failed: %s', error)
          ret = False
      _disconnect(nitro)
      return ret
docs: Delete a new service group
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' netscaler.servicegroup_delete 'serviceGroupName'