Delete the index.
Future<Task> delete() async { return await _getTask(http.deleteMethod('/indexes/$uid')); }