Startup Scripts

Add new startup script

post/v1/scripts

Request body

namestring required

Script name

scriptstring required

Script content

Example request

{
  "name": "My startup script",
  "script": "#!/bin/bash\n\necho hello world"
}

Response

Returns the ID of the newly created script

Changes

No recorded changes to this endpoint across all 10 revisions of this API.