def delete_endpoint(self, id):
        # ToDo: support v3 api (dguerri)
        endpoint = self.get_endpoint(id=id)
        if endpoint is None:
            self.log.debug("Endpoint %s not found for deleting" % id)
            return False

        if self.cloud_config.get_api_version('identity').startswith('2'):
            endpoint_kwargs = {'id': endpoint['id']}
        else:
            endpoint_kwargs = {'endpoint': endpoint['id']}
        with _utils.shade_exceptions("Failed to delete endpoint {id}".format(
                id=id)):
            self.manager.submitTask(_tasks.EndpointDelete(**endpoint_kwargs))

        return True
Converts a version 1 :class:`uuid.UUID` to a timestamp with the same precision
dataset/ETHPy150Open openstack-infra/shade/shade/operatorcloud.py/OperatorCloud.delete_endpoint--crossover with--dataset/ETHPy150Open pycassa/pycassa/pycassa/util.py/convert_uuid_to_time