management_groups.prepare_domainsPrepare all three portal web addresses; this does not opt into custom addresses or configure email. Supply base_domain to fill missing addresses with portal.<base_domain>, apply.<base_domain>, and referrals.<base_domain>, preserving saved hosts, including pending setup. Select surface to prepare only one requested portal independently. Set provider_host, client_host, or referrer_host for requested alternatives; use mode replacement for active hosts. Preserve nested prefixes and saved sibling addresses. Missing referrer DNS never requires replacing working team or client addresses. If custom addresses are already on, ready addresses may activate automatically. A full whitelabelling request also includes email: configure a missing sender with update_branding changes.sender_domain; its new-sender defaults supply the organization name and support address. Preserve existing sender settings; retry failed sender provisioning with its saved sender_domain. Read get_branding again and present every returned record from domains[].dns_records and email_sender.dns_records using its copy/import guidance. After DNS is added, continue the authorized setup through activation and return the branded-portal link.
- Operation
- write
- OAuth scopes
- mcp
Availability depends on your assigned tools. Scopes do not grant record access. Read the tool description and current resource before changing it; follow the required revision and idempotency fields below.
Inputs
| Name and description | Required |
|---|---|
domainsSee the input schema for constraints. | Yes |
expected_revisionCopy branding.revision unchanged from management_groups.get_branding; not an integer draft revision. | Yes |
management_group_slugCopy management_group_slug from management_groups.list. Prefix: mgmt_. | Yes |
View exact input schema
Result
Check the structured result for success or an error before continuing. Read the affected record to confirm your change.
View exact output schema
For this workflow’s steps and prerequisites, read the Branding guide.
