cURL
curl --request POST \ --url https://api.example.com/api/sso/orgs/{orgId}/domains/{domain}/verify \ --cookie better-auth.session_token=
{ "id": "<string>", "domain": "<string>", "txtRecordName": "<string>", "txtRecordValue": "<string>", "status": "pending", "allowAutoEnroll": true, "createdAt": "<string>", "verifiedAt": "<string>", "lastCheckedAt": "<string>" }
Triggers a DNS TXT lookup to verify domain ownership.
Default Response
pending
Was this page helpful?