Update a site's settings
Changes the settings you send and leaves the rest alone. title is the display name. keyConvention is flat or directory (how content keys map to URLs). editingMode is live (every editor save goes public) or staged (saves stay drafts until you publish); API writes always stage. signature sets the "Made with Dotsy" badge and takes effect on the live site at once. trailingSlash (ignore, the default, never or always) sets the page URL form: with never or always the other form 301s to it, and the canonical tag and sitemap use it; it takes effect on the live site at once. ownSeoFiles (off by default) lets the next publish use the site's own robots.txt when it blocks the whole site (Disallow: /) and its own static sitemap.xml, which replaces the generated one; a robots.txt without Disallow: / is used either way. integrations resolves pending clone integrations. aiAccess sets what AI agents and API keys may do on the site (viewer, contributor, editor or owner, the default). Only the site owner signed in to the dashboard can change it: an API key or MCP token answers 403 ai_access_limited.
A guest token can change the title but not editingMode (it answers 403 guest_requires_account).
Request
- Base URL: https://api.dotsy.ai
- URL: https://api.dotsy.ai/api/v1/sites/{slug}
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Site slug or site id (UUID). An old slug answers 301/308 and a site id 307 to the canonical slug path.
Request body
Example request
{
"title": "Acme Studio",
"editingMode": "staged"
}Response
Updated.
Changes
No recorded changes to this operation across all 1 revision of this API.