Skip Navigation

Shutting down the service

By default, the
Cylance Engine
does not allow shutdown requests. If the
Cylance Engine
is configured to allow shutdown requests, the client may request that it be shut down:
PUT /apiv1/shutdown Content-Length: 0
You do not need to include any data with the request; if any data is supplied, it is ignored. However, the
Content-Length
header must be present or the server rejects the request.
  • If shutdown is not allowed (
    Shutdown=false
    in the configuration file), a 401 Unauthorized result is returned.
  • If shutdown is allowed (
    Shutdown=true
    in the configuration file or if the service was started with the
    --shutdown
    option), a 200 OK is returned with no data.