We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d02d1bb commit 2a88cc7Copy full SHA for 2a88cc7
src/main/asciidoc/repository-resources.adoc
@@ -287,6 +287,10 @@ The `PATCH` method supports the following media types:
287
==== `DELETE`
288
289
The `DELETE` method deletes the resource exposed.
290
+By default, whether the response contains a body is controlled by the `Accept` header sent with the request.
291
+If the request header is present, a response body and a status code of `200 OK` is returned.
292
+If no header is present, the response body is empty and a successful request returns a status of `204 No Content`.
293
+This behavior can be overridden by configuring `RepositoryRestConfiguration.setReturnBodyOnDelete(…)` accordingly.
294
295
===== Methods used for invocation
296
0 commit comments