Is REST DELETE really idempotent?

DELETE is supposed to be idempotent.

If I DELETE http://example.com/account/123 it’s going to delete the account.

If I do it again would I expect a 404, since the account no longer exists? What if I attempt to DELETE an account that has never existed?

8 Answers
8

Leave a Comment