From d55b09b598cd8b1aefe24bbe7e5e98bf7e5319a7 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Mon, 22 Feb 2021 13:45:04 -0500 Subject: [PATCH] Adding the need for management.endpoint.env.post.enabled=true to the docs --- docs/src/main/asciidoc/spring-cloud-commons.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/main/asciidoc/spring-cloud-commons.adoc b/docs/src/main/asciidoc/spring-cloud-commons.adoc index 39a135a4..622c04c7 100644 --- a/docs/src/main/asciidoc/spring-cloud-commons.adoc +++ b/docs/src/main/asciidoc/spring-cloud-commons.adoc @@ -228,6 +228,7 @@ include::jce.adoc[] For a Spring Boot Actuator application, some additional management endpoints are available. You can use: * `POST` to `/actuator/env` to update the `Environment` and rebind `@ConfigurationProperties` and log levels. + To enabled this endpoint you must set `management.endpoint.env.post.enabled=true`. * `/actuator/refresh` to re-load the boot strap context and refresh the `@RefreshScope` beans. * `/actuator/restart` to close the `ApplicationContext` and restart it (disabled by default). * `/actuator/pause` and `/actuator/resume` for calling the `Lifecycle` methods (`stop()` and `start()` on the `ApplicationContext`).