latestOpenAPI 3.1.02026-08-23100133183.1 KB

0d66c7340876

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