cURL
curl --request POST \ --url https://api.example.com/api/sso/orgs/{orgId}/domains \ --header 'Content-Type: application/json' \ --cookie better-auth.session_token= \ --data ' { "domain": "<string>" } '
{ "id": "<string>", "domain": "<string>", "txtRecordName": "<string>", "txtRecordValue": "<string>", "status": "pending", "allowAutoEnroll": true, "createdAt": "<string>", "verifiedAt": "<string>", "lastCheckedAt": "<string>" }
Registers a domain for DNS verification. Returns the TXT record to publish.
1
Default Response
pending
Was this page helpful?