Remove custom domain
remove_domainRemoves a custom domain from a BrewPage publication and frees the slot immediately; the BrewPage link keeps working, while DNS records remain until the domain owner deletes them.
Instructions
Remove a custom domain from the profile: it stops showing the publication and its slot is free at once. The BrewPage link keeps working. Addressed by publication (type, namespace, id; a profile token or an owner token added to the profile) or by hostname (an admin profile token). DNS records at the DNS provider stay until the domain owner deletes them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "remove_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Publication ID | |
| type | No | Publication type; with namespace and id, instead of hostname | |
| hostname | No | Custom domain as a bare hostname, e.g. www.example.com; instead of type, namespace and id | |
| namespace | No | Publication namespace | |
| ownerToken | No | By publication: a profile token or an owner token added to the profile. By hostname: an admin profile token. Default: env BREWPAGE_OWNER_TOKEN (local server only). |