Dispach
HTTP API
POST
/v1/agents/{id}/stop

Authorization

bearer
headerAuthorizationBearer <token>

An operator key or the configured token.

Path Parameters

id*string

Request Body

application/json
  1. body
reason?string

Why, for whoever reads the listing later.

Response Body

OK

Example Request
curl -X POST 'http://localhost:7420/v1/agents/string/stop' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty