(self)
return error.check_return_status(response, logger)
Deletes the index.
Deletes the index.
Deletes the index .
def delete(self):
        """Deletes the index."""
        resource_url = '{0:s}/searchindices/{1:d}/'.format(
            self.api.api_root, self.id)
        response = self.api.session.delete(resource_url)
        return error.check_return_status(response, logger)
def delete ( self ) : resource_url = '{0:s}/searchindices/{1:d}/' . format ( self . api . api_root , self . id ) response = self . api . session . delete ( resource_url ) return error . check_return_status ( response , logger )