POST
/
domains
/
{id}
/
primary
curl --request POST \
  --url https://api.pxyz.dev/api/v0/domains/{id}/primary
{
  "id": "<string>",
  "tenantId": "<string>",
  "name": "<string>",
  "primary": true,
  "type": "protocol",
  "verified": true,
  "verificationRecordType": "<string>",
  "verificationRecordDomain": "<string>",
  "verificationRecordValue": "<string>",
  "verificationRecordReason": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string
required

Response

200 - application/json
id
string
required
tenantId
string
required
name
string
required
primary
boolean
required
type
enum<string>
required
Available options:
protocol,
external
verified
boolean
required
verificationRecordType
string | null
required
verificationRecordDomain
string | null
required
verificationRecordValue
string | null
required
verificationRecordReason
string | null
required
createdAt
string
required
updatedAt
string
required