Skip to main content
PUT
Update a startup script

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

script
integer
required

Body

application/json
name
string
required
Example:

"Install Web Server v2"

content
string
required
Example:

"#!/bin/bash\napt update && apt install nginx -y"

Response

200 - application/json

Script updated

status
boolean
Example:

true

message
string
Example:

"Startup script updated."

data
object