Documentation
Documentation menu

Settings reference

Fields, eligibility, and validation for project settings.

Update an owned project

Send settings as a multipart text field containing a JSON object. Supply the hostname of an owned project and omit content files to keep them. New projects require files; including files on an existing project replaces its file set.

curl --fail-with-body -X PUT https://ext.tiiny.host/v1/upload \
  -H "x-api-key: $TIINY_API_KEY" \
  -F 'domain=example.tiiny.site' \
  --form-string 'settings={"comments":true,"pageTitle":"Quarterly report"}'

See Project settings for the supported fields and Access control for visitor access modes.

Validation errors

An invalid setting returns HTTP 400 with INVALID_SITE_SETTINGS. The errors array identifies each field, code, and message. Select For agents for the field and error tables.

Search documentation