This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Boot 3.4.0!spring-doc.cn

Shutdown (shutdown)

The shutdown endpoint is used to shut down the application.spring-doc.cn

Shutting Down the Application

To shut down the application, make a POST request to /actuator/shutdown, as shown in the following curl-based example:spring-doc.cn

$ curl 'http://localhost:8080/actuator/shutdown' -i -X POST

A response similar to the following is produced:spring-doc.cn

HTTP/1.1 200 OK
Content-Type: application/vnd.spring-boot.actuator.v3+json
Content-Length: 41

{
  "message" : "Shutting down, bye..."
}

Response Structure

The response contains details of the result of the shutdown request. The following table describes the structure of the response:spring-doc.cn

Path Type Description

messagespring-doc.cn

Stringspring-doc.cn

Message describing the result of the request.spring-doc.cn