Security Endpoint Management API

Update script

Spaces method and path for this operation:

<div><span class="operation-verb patch">patch</span>&nbsp;<span class="operation-path">/s/{space_id}/api/endpoint/scripts_library/{script_id}</span></div>

Refer to Spaces for more information.

Update (full or partial) a script entry

patch/api/endpoint/scripts_library/{script_id}

Path parameters

script_idstring required

The ID of the script entry to be updated.

Example:fr518850-681a-4y60-aa98-e22640cae2b8

The ID of the script entry to be updated.

Response

Action request was successfully updated

Example response

{
  "data": {
    "description": "Collects host data for investigation",
    "downloadUri": "/api/endpoint/scripts_library/123e4567-e89b-12d3-a456-426655440000/download",
    "example": "./collect_host_data.sh --help",
    "fileHash": "abf573681eb54aac5e05e35bf186d4d31abe45ecf242461490523f11d2a8fbb8",
    "fileName": "collect_host_data.sh",
    "fileSize": 12345,
    "id": "123e4567-e89b-12d3-a456-426655440000",
    "instructions": "Collects host data for investigation",
    "name": "Collect host data",
    "platform": [
      "linux",
      "macos"
    ],
    "requiresInput": false
  }
}

Changes

Changed in 1 of the 176 revisions of this API.161

  • 65f26ff12b38161See the full diff
    • ▲

      the request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • ●

      for the path request parameter script_id, the maxLength was set to 256

      request-parameter-max-length-set

    • ●

      the request property's maxLength was set to 10000

      request-property-max-length-set

    • ●

      the request property's maxLength was set to 10000

      request-property-max-length-set

    • ●

      the request property's maxLength was set to 10000

      request-property-max-length-set

    • ●

      the request property's maxLength was set to 256

      request-property-max-length-set

    • ●

      the request property's maxLength was set to 4096

      request-property-max-length-set

    • ○

      added the new optional request property

      new-optional-request-property

Of the 176 revisions, 20 have no diff computed.