Skip to main content

DemistoUploadFile

This Script is part of the Cortex REST API Pack.#

Deprecated

Use UploadFileV2 instead.

Copies a file from an incident to a specified incident. The file is recorded as an entry in the specified incident's War Room.

Script Data#


NameDescription
Script Typejavascript
TagsDemistoAPI

Dependencies#


This script uses the following commands and scripts.

  • core-api-multipart

Inputs#


Argument NameDescription
entryIDThe file entry ID.
incidentIDThe incident ID to upload the file to.
bodyRequest body

Outputs#


There are no outputs for this script.