v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-19273210655.1 KB
Sites

Update site

Update a site on the server.

Processing mode: <small><code>async</code></small>

put/orgs/{organization}/servers/{server}/sites/{site}

Path parameters

organizationstring required

The organization slug

serverinteger required

The server ID

siteinteger required

The site ID

Request body

root_pathstring nullable
directorystring nullable
type'laravel' | 'symfony' | 'statamic' | 'wordpress' | 'phpmyadmin' | 'php' | 'nextjs' | 'nuxtjs' | 'static-html' | 'other' | 'custom'
php_version'php5' | 'php56-old' | 'php56' | 'php70' | 'php71' | 'php72' | 'php73' | 'php74' | 'php80' | 'php81' | 'php82' | 'php83' | 'php84' | 'php85'
push_to_deployboolean

Automatically trigger a new deployment when changes are pushed to the environment's Git branch.

repository_branchstring nullable

Response

Accepted