Skip to content

DestroyWorkerResults can be called with an element from another corpus

element = cli.request('CreateElement', body={'corpus': CORPUS_1, })
cli.request('DestroyWorkerResults', corpus=CORPUS_2, element_id=element['id'])

This request should fail with a 400 since the element does not exist in the corpus, but it is successful and just triggers a deletion that will never remove anything.