def _unbanStorageElement(self, storageElement):

        endpoints = getFTS3Servers()
        if not endpoints['OK']:
            return endpoints

        endpoints = endpoints['Value']

        blacklist = {}
        for endpoint in endpoints:
            # endpoint = 'https://fts3-pilot.cern.ch:8446'

            # TODO: maybe proxyPath is not needed since it is picked from the environment by the REST API
            proxyPath = getProxyInfo()
            if not proxyPath['OK']:
                return proxyPath

            try:
                proxyPath = proxyPath['Value']['path']
            except Exception as e:
                return S_ERROR(repr(e).replace(',)', ')'))

            context = fts3.Context(endpoint, proxyPath)

            fts3.unban_se(context, storageElement)

            blacklist[endpoint] = json.loads(context.get("ban/se"))

        return S_OK(blacklist)
    def _unbanStorageElement(self, storageElement):

        endpoints = getFTS3Servers()
        if not endpoints["OK"]:
            return endpoints

        endpoints = endpoints["Value"]

        blacklist = {}
        for endpoint in endpoints:
            # endpoint = 'https://fts3-pilot.cern.ch:8446'

            # TODO: maybe proxyPath is not needed since it is picked from the environment by the REST API
            proxyPath = getProxyInfo()
            if not proxyPath["OK"]:
                return proxyPath

            try:
                proxyPath = proxyPath["Value"]["path"]
            except Exception as e:
                return S_ERROR(repr(e).replace(",)", ")"))

            context = fts3.Context(endpoint, proxyPath)

            fts3.unban_se(context, storageElement)

            blacklist[endpoint] = json.loads(context.get("ban/se"))

        return S_OK(blacklist)
	def _unbanStorageElement( self, storageElement ):
				
		endpoints = getFTS3Servers()[ 'Value' ]
		
		blacklist = {}
		for endpoint in endpoints:
			#endpoint = 'https://fts3-pilot.cern.ch:8446'
			
			#TODO: maybe proxyPath is not needed since it is picked from the environment by the REST API
			proxyPath = getProxyInfo()
			if not proxyPath.get('OK'):
				return S_ERROR("Proxy not found!")
			
			try:
				proxyPath = proxyPath.get('Value').get('path')
			except Exception as e:
				return S_ERROR(e.message)			
			
			context = fts3.Context(endpoint, proxyPath)
			
			fts3.unban_se(context, storageElement)
			
			blacklist[endpoint] = json.loads(context.get("ban/se"))
		
		return S_OK( blacklist )
    def _unbanStorageElement(self, storageElement):

        endpoints = getFTS3Servers()['Value']

        blacklist = {}
        for endpoint in endpoints:
            #endpoint = 'https://fts3-pilot.cern.ch:8446'

            #TODO: maybe proxyPath is not needed since it is picked from the environment by the REST API
            proxyPath = getProxyInfo()
            if not proxyPath.get('OK'):
                return S_ERROR("Proxy not found!")

            try:
                proxyPath = proxyPath.get('Value').get('path')
            except Exception as e:
                return S_ERROR(e.message)

            context = fts3.Context(endpoint, proxyPath)

            fts3.unban_se(context, storageElement)

            blacklist[endpoint] = json.loads(context.get("ban/se"))

        return S_OK(blacklist)