Project settings
Set project access, comments, and link appearance when uploading files.
Change project settings
Send settings as one multipart text field containing JSON. To change an owned project, provide its hostname and the settings to change. You can omit content files to keep the hosted content.
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"}'
Use the exact hostname from Fetch profile. If you include content files, they replace the existing file set. A new project requires content files.
Settings control access, comments, title and description, promotional slide-ins, search indexing, and image removal. Image files are separate multipart parts. See Settings reference for allowed fields and errors.