Skip to main content
Server Actions

Set server settings

Asynchronous Request

Update server settings. Currently supports web root configuration (The directory you specify must already exist on the server), with more settings to be added in the future.

POST
/servers/{serverSlug}/actions/settings
Authorizationstringheaderrequired

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

serverSlugstringrequired

Slug of the server

Body

application/json

Set server settings model

updateLetsencryptbooleandefault:true

Whether to update Let's Encrypt configuration when setting web root

updateWebserverbooleandefault:true

Whether to update web server configuration when setting web root

webrootstring

New web root path for the server. The directory you specify must already exist on the server.

Server settings update initiated.

X-Callback-IDstringheader

CallbackID