Status code for failure to destroy

Hi,

Just wondering what the status code should be for a failed destroy.

I think it’s out of these three. I’m leaning to 417 at the moment.
Anyone
have any input on this please?

403 => “Forbidden”,
406 => “Not Acceptable”,
417 => “Expectation Failed”,

Thanx

Daniel

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs