Comment Comment by gbuk2013 > Then you'd return 202 on a request to delete any invalid element, which really doesn't sound rightIt depends on your use-case if you care about this or not. If you do care you will have to handle it either way somehow.But if you want an idempotent API then a success is more appropriate IMO than an error. parent gbuk2013 4 months ago
It depends on your use-case if you care about this or not. If you do care you will have to handle it either way somehow.
But if you want an idempotent API then a success is more appropriate IMO than an error.