Run a script
Spaces method and path for this operation:
post /s/{space_id}/api/endpoint/action/runscript
Refer to Spaces for more information.
Run a shell command on an endpoint.
POST
/api/endpoint/action/runscript
curl \
--request POST 'https://localhost:5601/api/endpoint/action/runscript' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"parameters":{"commandLine":"string","raw":"string","timeout":42}}'