Startup Scripts

Add new startup script

post/v1/scripts

Request

  • Base URL: https://api.verda.com
  • URL: https://api.verda.com/v1/scripts
  • Auth: HTTP bearer

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 operation across all 1 revision of this API.