Skip to main content
POST
cURL
Update an existing static site (type=static). Omit file to change metadata only.
Paste your API key in the Authorization field as Bearer {api_key}.
Link id of the static site.
string
Display name of the static site (max 128 characters).
file
Optional replacement .html or .zip package. Same validation as create.
string
Custom alias.
integer
Domain id. Use 0 for the main domain.
integer
Project id owned by the authenticated user.
boolean
Enable or disable the site (0 or 1).
string
Optional visitor password (max 64 characters).
cURL