change from POST to DELETE

- removed unnecessary data argument to DELETE

note: the DELETE request returns the new hostname if needed