Skip to content

Update public_host (super_admin only)

PUT
/system/public-host
curl --request PUT \
--url https://your-server.example/api/system/public-host \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "public_host": "example" }'
Media typeapplication/json
object
public_host
string

Example generated

{
"public_host": "example"
}

Updated.

Media typeapplication/json
object
public_host
string

Example generated

{
"public_host": "example"
}

Invalid hostname or IP.

Requires super_admin.