Promotes one of the calling affiliate's existing domains to be its main domain.

The domain identified by domainId must already belong to the calling
affiliate. Setting a new main domain demotes any previously promoted main domain.

🔐 Required permission: AccountAdmin

🔐 Requires an Affiliate context (AffiliateId in header or token)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

The identifier of the domain to be set as the main domain.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json