Connectors
...
Actions
Stop and Quarantine File
6 min
description initiates the stoppage and quarantine of a file by its 'id' to mitigate threats within microsoft defender endpoint url /api/machines/{{id}}/stopandquarantinefile method post inputs path parameters (object) – required id (string) – required json body (object) comment (string) sha1 (string) output example \[ { "status code" 400, "response headers" { "date" "thu, 04 may 2023 18 35 41 gmt", "content type" "application/json; charset=utf 8", "transfer encoding" "chunked", "connection" "keep alive", "content encoding" "deflate", "vary" "accept encoding", "strict transport security" "max age=15724800; includesubdomains" }, "reason" "bad request", "json body" { "error" { "code" "badrequest", "message" "a recognition error occurred fix syntax errors in your query ", "target" "|1d25001e 48e8e09dbddde4f4 " } } } ] output parameters status code (number) reason (string) json body (object) error (object) code (string) message (string) target (string) response headers header type date string content type string transfer encoding string connection string content encoding string vary string strict transport security string