Only superuser role can delete completed tasks. Tasks not completed cannot be deleted as there may be an owning process still running thus ending up the workflow in an inconsistent state.