Static sites
Update static site
Update properties or settings of an existing static site.
PUT
Update static site
Authorizations
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Example:
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Body
application/json
Display name of the static site
Minimum string length:
1Example:
"My Static Site"
Whether auto deploy is enabled
Example:
true
Default git branch
Minimum string length:
1Example:
"main"
Build command
Example:
"npm run build"
Node.js version
Example:
"20"
Published output directory
Example:
"dist"
Response
Default Response
Update static site