code: def secgroup_delete(name, profile=None, **kwargs):
      '''
      Delete a secgroup to nova (nova secgroup-delete)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' nova.secgroup_delete mygroup
      '''
      conn = _auth(profile, **kwargs)
      return conn.secgroup_delete(namef secgroup_delete(name, profile=None, **kwargs):
      '''
      Delete a secgroup to nova (nova secgroup-delete)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' nova.secgroup_delete mygroup
      '''
      conn = _auth(profile, **kwargs)
      return conn.secgroup_delete(name)
docs: Delete a secgroup to nova (nova secgroup-delete)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' nova.secgroup_delete mygroup