Skip to main content
PUT
Update a service spec.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Service spec ID

Body

application/json
auto_enable
boolean | null
env_vars
object | null
environment_file
string | null
exec_start
string | null
name
string | null
restart_policy
string | null
setup_script
string | null

Response

200 - application/json

Service spec updated

auto_enable
boolean
required
created_at
string
required
env_vars
object
required
exec_start
string
required
id
string
required
name
string
required
restart_policy
string
required
source
string
required
systemd_unit_preview
string
required

Preview of the systemd unit that would be generated

updated_at
string
required
user_id
string
required