Skip to main content
POST
/
fleets
/
{fleet}
/
machines
/
{machine_id}
/
stop
Stop a machine
curl --request POST \
  --url https://api.example.com/fleets/{fleet}/machines/{machine_id}/stop \
  --header 'Content-Type: application/json' \
  --data '
{
  "signal": "<string>",
  "timeout": 123
}
'
{
  "code": "<string>",
  "detail": "<string>",
  "status": 123,
  "title": "<string>",
  "errors": [
    {
      "location": "<string>",
      "message": "<string>",
      "value": "<unknown>"
    }
  ]
}

Path Parameters

fleet
string
required
machine_id
string
required

Query Parameters

namespace
string

Body

application/json
signal
string
timeout
integer<int64>

Response

No Content