Skip to main content
POST
/
v0
/
vms
/
script
Set VM startup script
curl --request POST \
  --url https://api.sfcompute.com/v0/vms/script \
  --header 'Content-Type: application/json' \
  --data '
{
  "script": "<string>"
}
'
{
  "script": "<string>"
}

Body

application/json
script
required

if the script is valid utf8 then the response may be in either string, or byte form and the client must handle both

Response

script
required

if the script is valid utf8 then the response may be in either string, or byte form and the client must handle both