Terminate an application instance

Last Updated: Nov 01, 2016

Description

Sends signals to all containers in an application instance. The container will be notified in a reverse order of service dependencies. The default signal is to terminate container.

Request information

Request line (RequestLine)

  1. POST /projects/{name}/kill?signal={signal} HTTP/1.1

Request line parameter (URI Param)

Name Type Required? Description
name string Yes Name of the application.
signal string No Signal name, the default value is KILL.

Special request header (RequestHead)

None

Request body (RequestBody)

None

Response information

Response line (ResponseLine)

  1. HTTP/1.1 200 OK

Special response header (ResponseHead)

None

Response body (ResponseBody)

None

Example

Request example

  1. POST /projects/test/kill HTTP/1.1

Return example

  1. HTTP/1.1 200 OK
Thank you! We've received your feedback.