def delete_index(self, index_name):
        """
        Delete an index.
        Return an object of the form: {'deleted_at': '2013-01-18T15:33:13.556Z'}

        @param index_name the name of index to delete
        """
        path = safe(index_name) % '/1/indexes/%s'
        return self._perform_request(self.write_hosts, path, 'DELETE')
dataset/ETHPy150Open algolia/algoliasearch-client-python/algoliasearch/client.py/Client.delete_index/swapped operands of `%`