Skip to main content
POST
Verify a sign-in domain
Takes a managing key (oc_key_...) or a signed-in session. See Editions for what OneCLI Cloud adds. Looks up the domain’s TXT record and marks it verified when it matches. Needs a plan with sign-in.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Headers

Idempotency-Key
string

Not accepted on this call. Sending it is 400 bad_request.

Required string length: 1 - 255

Path Parameters

id
string
required

The domain id.

Required string length: 1 - 64

Response

The verified domain.

createdAt
string
required
domain
string
required
id
string
required
txtRecord
string
required

The DNS TXT record to publish on the domain to verify it.

verifiedAt
string | null
required