docs: def delete_branch(self, project, repository, name, end_point):
          """
          Delete branch from related repo
          :param self:
          :param project:
          :param repository:
          :param name:
          :param end_point:
          :return:
          """
  
          url = 'rest/branch-utils/1.0/projects/{project}/repos/{repository}/branches'.format(project=project,
                                                                                              repository=repository)
  
          data = {"name": str(name), "endPoint": str(end_point)}
          return self.delete(url, data=data)