Set site slug
set_site_slugChange a site's slug, the last segment of its address on the workspace host and, for a landing page, of its snaphost.ai/lp address. The share permalink (nanoId) keeps working; the old slug address and any campaign link to it stop. Normalised to lowercase letters, digits and hyphens; refused when another site on the same drive holds it. Needs a workspace on Pro, which publishes on its own host.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The new slug | |
| site_id | Yes | The id of the site | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |