management_groups.change_domain_lifecycleActivate, deactivate, or discard custom domains. Read branding immediately first and pass its revision. Activate saves the Management Group organization-wide preference ON for this environment, even while DNS is unfinished. Confirm that shared scope matches the request. Ready addresses use custom domains; unfinished addresses keep their Levr URLs and switch when a later health check confirms readiness. Activation enables a configured, verified sender when a custom address is active; an unverified sender stays disabled. Read branding.routing.use_custom_domains for the saved choice and routing.surfaces for each effective address and setup_required hint. ON alone does not mean every address is live. Use domains[].dns_records for remaining DNS steps. Offer frontend_links.open_portal unchanged. Deactivate saves OFF for the whole organization, uses Levr addresses, and preserves DNS setup. Discard removes an unactivated replacement draft and preserves current live addresses.
- 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 |
|---|---|
client_request_idSee the input schema for constraints. | Yes |
expected_revisionCopy branding.revision unchanged from management_groups.get_branding; not an integer draft revision. | Yes |
lifecycle_actionRead domains[].status and tls_status from management_groups.get_branding. Activate saves the organization-wide custom-domain preference and turns on ready addresses; deactivate saves OFF for all addresses; discard removes an unactivated replacement draft. | Yes |
management_group_slugCopy management_group_slug from management_groups.list. Prefix: mgmt_. | Yes |
surfaceSelect an address for readiness checks or replacement discard. ON/OFF preference always applies to the organization. | No |
user_confirmedSee the input schema for constraints. | 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.
