code: def delete_branch(profile, name):
      
      ref = "heads/" + name
      data = refs.delete_ref(profile, ref)
      return data
docs: Delete a branch.
  
      Args:
  
          profile
              A profile generated from ``simplygithub.authentication.profile``.
              Such profiles tell this module (i) the ``repo`` to connect to,
              and (ii) the ``token`` to connect with.
  
          name
              The name of the branch to delete.
  
      Returns:
          The response of the DELETE request.