executeRemoteScript


SoftLayer_Hardware_Server::executeRemoteScript

Download and run remote script from uri on the hardware. Requires https for script to be executed after download.

Description

Download and run remote script from uri on the hardware.

Parameters

Name Type Description
uri string Location of the remote script

Required Headers

Optional Headers

  • None

Return Values

  • void
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Server/{SoftLayer_Hardware_ServerID}/executeRemoteScript'