This should work
sed -e '/dump/d; /OCAPI/d' filename > newfilename
sed -e '/^dump/d' -e '/^OCAPI/d' filename > newfilename
Be sure to read pixellany warning about these words being anywhere else in your file. The
second sed code at least only takes out the lines that begin with your regrex.