Skip to main content
PATCH
Make a tracking domain the team's default

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Path Parameters

trackingDomainId
string
required

The tracking domain's id (24-character hex), as the id of a GET /business/tracking-domains row.

Body

application/json
isDefault
enum<boolean>
required

Must be true: makes this domain the team's default and clears the flag on the team's other domains. Only an ACTIVE domain can be the default (409 TRACKING_DOMAIN_NOT_ACTIVE). There is no false: a default is cleared by making another domain the default or by removing this one.

Available options:
true

Response

Success

trackingDomain
object
required