Actions176
- Health Check Actions
- Knowledge Manager Actions
- List Entities
- Create Entity
- Get Entity
- Update Entity
- Delete Entity
- List Language Profiles
- List All Language Profiles
- Get Language Profile
- Upsert Language Profile
- Delete Language Profile
- Get Locations
- Create Location
- Search Locations
- Get Location
- Update Location
- Get Location Folders
- Get Menus
- Create Menu
- Get Menu
- Update Menu
- Delete Menu List
- Get Bios
- Create Bio
- Get Bio
- Update Bio
- Delete Bio List
- Get Products
- Create Product
- Get Product
- Update Product
- Delete Product List
- Get Events
- Create Event
- Get Event
- Update Event
- Delete Event List
- Get Business Categories
- Get Google Keywords
- Get Custom Fields
- Create Custom Field
- Get Custom Field
- Update Custom Field
- Delete Custom Field
- Get Language Profiles
- Get Location Language Profile
- Upsert Location Language Profile
- Delete Location Language Profile
- List Assets
- Create Asset
- Get Asset
- Update Asset
- Delete Asset
- Upsert Suggestion
- List Suggestions
- Cancel Suggestion
- Get Suggestion
- Comment Suggestion
- Update Suggestion
- Listings Actions
- List Publishers
- List Listings
- Opt In Listings
- Opt Out Listings
- Confirm Sync Listings
- Force Sync Listings
- List Publisher Suggestions
- Get Publisher Suggestion
- Update Publisher Suggestion
- List Duplicates
- Create Duplicate
- Delete Duplicate
- Suppress Duplicate
- List Methods
- List Statuses
- Initiate Verification
- Complete Verification
- List Admins
- Invite Admins
- List Entity Listings
- Delete Listings
- List Questions
- Get Question
- Create Answer
- Update Answer
- Delete Answer
- Analytics Actions
- Logs API Actions
- Reviews Actions
- Social Actions
- Account Settings Actions
- Optimization Tasks Actions
- Connectors Actions
- Configuration Actions
- Licenses Actions
- Computations Actions
- Domains Actions
Domains → Create Domain Association
AI-generatedSummary
Create a new domain association under a Yext parent domain by specifying the hostname, associated site, and other optional metadata, optionally forcing domain ownership transfer if required.
Inputs
- Force Move — Boolean flag to force domain ownership transfer if the domain is in a MOVE_REQUIRED state.
- Name (required) — Identifier for the domain association resource (e.g., accounts/{accountId}/domains/{domainId}/associations/{associationId}).
- Hostname (required) — Hostname for the domain association. For non-wildcard domains, matches the parent domain's hostname; for wildcard domains, can be a single-level subdomain.
- Site (required) — The Pages site to associate with the domain, expressed as a JSON object including site name and primary status.
- Errors — JSON array of errors or warnings related to the domain setup.
- Create Time — Creation timestamp for the domain association.
- Update Time — Last update timestamp for the domain association.
Output shape
a single JSON object representing the created domain association resource, including properties such as hostname, site, errors, and timestamps.
The response will include the newly created domain association's details. The operation accepts an optional query parameter 'force_move' to handle ownership moves. Errors on domain setup can be included in the input but typically are returned by the API on failure.
Examples
Example 1: Create a new domain association with force move enabled
Set Force Move to true, provide a unique Name identifier, specify the Hostname, and associate a Site JSON object.