Change a site's subdomain slug. Requires the Pro plan (E_PLAN_REQUIRED otherwise). Requires editor role. Call check_slug_available first to avoid E_SLUG_INVALID / E_SLUG_RESERVED / E_SLUG_UNAVAILABLE / E_SLUG_RETIRED. On success the outgoing slug is retired (permanently owned by this site) and the site's cache tag is purged. changed:false when the new slug equals the current slug (no work performed).
| Name | Type | Required | Description |
|---|---|---|---|
| request_id | string | Yes | — |
| site_id | uuid | Yes | — |
| new_slug | string | Yes | Subdomain label: lowercase letters, digits and hyphens; 1..63 chars. |
| Name | Type | Description |
|---|---|---|
| site_id | uuid | — |
| old_slug | string | — |
| new_slug | string | — |
| changed | boolean | — |
| idempotency_replay | false | — |
change_slug is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 38 Sentway tools. See connecting over MCP.