primary: true designates this hostname as the one used in the workspace's outbound-email links (magic links, invitations, notifications) for its context, atomically replacing any previous primary of that context. Setting false clears it.curl --location --request PATCH 'https://api.aworld.cloud/dashboard/v1/vanity-domains/' \
--header 'Content-Type: application/json' \
--data '{
"primary": true
}'{
"vanityDomainId": "FUMzPf00hz_kcj2R2Hlzq",
"hostname": "learn.acme.com",
"context": "app",
"cloudflareCustomHostnameId": "string",
"primary": false,
"accountId": "stringstri",
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"status": {
"state": "PENDING",
"sslStatus": "string",
"ownershipStatus": "string",
"verificationRecords": [
{
"kind": "OWNERSHIP",
"type": "TXT",
"name": "string",
"value": "string"
}
]
}
}