Shutdown (shutdown
)
The shutdown
endpoint is used to shut down the application.
Shutting Down the Application
To shut down the application, make a POST
request to /actuator/shutdown
, as shown in the following curl-based example:
$ curl 'http://localhost:8080/actuator/shutdown' -i -X POST
A response similar to the following is produced:
HTTP/1.1 200 OK
Content-Type: application/vnd.spring-boot.actuator.v3+json
Content-Length: 41
{
"message" : "Shutting down, bye..."
}