Upload a file
Spaces method and path for this operation:
post /s/{space_id}/api/endpoint/action/upload
Refer to Spaces for more information.
Upload a file to an endpoint.
Body Required
-
List of agent types to retrieve. Defaults to
endpoint.Values are
endpoint,sentinel_one,crowdstrike, ormicrosoft_defender_endpoint. -
A list of alerts ids.
At least
1element. Minimum length of each is1. -
Case IDs to be updated (cannot contain empty strings)
At least
1element. Minimum length of each is1. -
Optional comment
-
List of endpoint IDs (cannot contain empty strings)
At least
1element. Minimum length of each is1. -
Optional parameters object
-
The binary content of the file.
POST /api/endpoint/action/upload
curl \ --request POST 'https://localhost:5601/api/endpoint/action/upload' \ --header "Authorization: $API_KEY" \ --header "Content-Type: multipart/form-data" \ --form "file=RWxhc3RpYw==" \ --form 'parameters={}' \ --form "endpoint_ids[]=ed518850-681a-4d60-bb98-e22640cae2a8"