delete deployment via REST