latestOpenAPI 3.1.02026-08-08423062.6 KB

6e0ac03e39e5

Sites

Update site

Replaces the multi-file site bundle (ZIP archive or individual files with paths). Requires the owner token returned at creation. Password is preserved as-is (not changed in this operation).

put/api/sites/{ns}/{id}

Path parameters

nsstring required
idstring required

Query parameters

filesstring[]

Individual files (alternative to archive)

pathsstring[]

Relative paths for each file (must match files order)

tagsstring

Comma-separated tags

ttlstring

Time to live in days (1-30). When omitted the existing expiry is preserved. Accepts '15', '15d' or '15 days'

entrystring

Entry file path override (default: auto-detect index.html)

Headers

X-Owner-Tokenstring required

Owner token returned at creation. Required for update

User-Agentstring

Request body

archivestring binary

ZIP archive containing site files

Response

Site updated