201 is not appropriate here; it indicates that something has been created. Have a look at https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success. For `destroy_group`, 204 is probably the right response.

It looks like you're using 201 everywhere, go through and make sure you're only using it when things are actually created.