メインコンテンツへスキップ
GET
/
domains
/
{domain_id}
TypeScript
import { MyOrganizationClient } from "github.com/auth0/myorganization-js";

async function main() {
    const client = new MyOrganizationClient({
        token: "<token>",
    });
    await client.organization.domains.get("domain_id");
}
main();
{
  "id": "ord_aW1UHetvkBWSWdCCe8DWq7",
  "org_id": "org_zW1UHutvkVWSWdCC",
  "domain": "acme.com",
  "status": "pending",
  "verification_txt": "dove_text=asdfpiujnlewp-23849jdkfjzxcfpiawer",
  "verification_host": "_ss-verification.org_zW1UHutvkVWSWdCC.acme.com"
}

Release Lifecycle

Beta

Scopes

Scopes define permissions and access levels for API requests and authentication tokens.
read:my_org:domains

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

domain_id
string
必須

Organization domain identifier.

Pattern: ^ord_[A-Za-z0-9]{22}$

レスポンス

Organization domain successfully retrieved.

id
string
必須

Organization domain identifier.

Pattern: ^ord_[A-Za-z0-9]{22}$
org_id
string
必須

Organization identifier.

Pattern: ^org_[A-Za-z0-9]{16}$
domain
string
必須

Domain name.

Pattern: ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$
status
enum<string>
必須

Organization domain status.

利用可能なオプション:
failed,
pending,
verified
verification_txt
string
必須

Value used to verify the domain.

verification_host
string
必須

Stores the full domain where the TXT record should be added.