Create a one-time site transfer link
create_transfer_codeCreates a one-time link that hands a managed site to a departing client: they sign in or sign up and accept, and the site (and, by default, its domain) moves to their account. The link works once and expires at expires_at; creating a new one cancels the previous one. Signed-in accounts only.
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": {
"site_key": "<site_key>"
},
"name": "create_transfer_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_key | Yes | The managed site to hand over to a departing client. | |
| include_domain | No | Move the site's connected domain with it (default true). When false the site moves unpublished and the domain stays with this account. |