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

POST Unblock an executable

Relative path: /api/v2/executables/{module}/unblock

Query parameters

Name

Type

Description

$idType

string

If $idType=sha1 {id} in URL is interpreted as SHA1

Request body

Display Schema instead of an Example or vice-versa

Type

Required

Example

Schema

application/json

No

{
  "note": "string",
  "targetsIds": [
    0
  ],
  "targetsUuids": [
    "string"
  ]
}
{
  "$ref": "ExecutableUnblockTargetsRequestSchema",
  "note": {
    "type": "string"
  },
  "targetsIds": [
    {
      "type": "integer"
    }
  ],
  "targetsUuids": [
    {
      "type": "string"
    }
  ]
}

Parameters in path

Name

Type

Required

Description

module

string

Yes

ID or SHA1



Responses

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

Code

Description and Example

Description, Schema and Headers

204

No content

No content


Response schema

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


Headers

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

401

Credentials or access token missing or invalid


Response example

{
  "error": "string"
}

Credentials or access token missing or invalid


Response schema

{
  "$ref": "UnauthorizedError",
  "error": {
    "type": "string"
  }
}

403

Insufficient permissions to perform action

Insufficient permissions to perform action


Response schema

{
  "$ref": "ForbiddenError",
  "description": "Insufficient permissions to perform action"
}