Select the tab
ESET Inspect On-Prem – Table of Contents

POST Kill a process on EI Connector side

Relative path: /api/v1/epxprocess/kill

Request body

Display Schema instead of an Example or vice-versa

Type

Required

Example

Schema

application/json

Yes

{
  "process_id": "string",
  "device_id": "string"
}
{
  "$ref": "EPXProcessKillRequestSchema",
  "process_id": {
    "type": "string"
  },
  "device_id": {
    "type": "string"
  }
}


Responses

Display Schema+Headers instead of an Example or vice-versa

Code

Description and Example

Description, Schema and Headers

200

OK


Response example

{
  "id": 0,
  "systemProcessId": 0,
  "moduleId": 0,
  "moduleUuid": "string",
  "commandLine": "string",
  "user": "string",
  "uuid": "string"
}

OK


Response schema

{
  "$ref": "GetProcessResponseSchema",
  "id": {
    "type": "integer"
  },
  "systemProcessId": {
    "type": "integer"
  },
  "moduleId": {
    "type": "integer"
  },
  "moduleUuid": {
    "type": "string",
    "format": "uuid"
  },
  "commandLine": {
    "type": "string"
  },
  "user": {
    "type": "string"
  },
  "uuid": {
    "type": "string",
    "format": "uuid"
  }
}


Headers

{
  "X-Security-Token": {
    "$ref": "X-Security-Token",
    "description": "Authentication token",
    "schema": {
      "$ref": "AuthenticateTokenResponse",
      "type": "string",
      "example": "eyJhbGciOi[..]ziJSUGusY5kAI"
    }
  }
}

400

Request is invalid

Request is invalid


Response schema

{
  "$ref": "BadRequestResponse",
  "description": "Request is invalid"
}