fix deletion of enumeration values

Implements [2427](https://www.openproject.org/issues/2427)

This only changes the method used from post to delete.