Set sharing domain home page
set_workspace_domain_rootChoose what the bare / of the workspace’s sharing domain does (e.g. share.acme.com/). With site_id it shows that site, which must be a published site of the Shared drive. With website_site_id it sends people to one of the workspace websites (a site id from list_websites): a permanent redirect from the bare / to the website domain, while the website is online; if the website goes offline or is removed, the bare / shows the workspace’s default page (its logo and name) again. Omit both to clear it. Every other path keeps resolving folder and site links as before. Owners and admins of the workspace.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain_id": "<domain_id>"
},
"name": "set_workspace_domain_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | The site to show at the bare / | |
| domain_id | Yes | The sharing domain’s id from list_custom_domains | |
| 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). | |
| website_site_id | No | The website to send people to from the bare /, by its site id from list_websites |