My Organization API
TypeScript
import { MyOrganizationClient } from "github.com/auth0/myorganization-js"; async function main() { const client = new MyOrganizationClient({ token: "<token>", }); await client.organization.domains.list(); } main();
{ "next": "eyJpZCI6Im9yZF96VzFVSGV0dmtCV1NXZENEZThEV3E3IiwidGVuYW50IjoidGVzdC10ZW5hbnQifQ", "organization_domains": [ { "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" }, { "id": "ord_zW1UHetvkBWSWdCDe8DWq7", "org_id": "org_nW1UHutvkVWSWdCG", "domain": "roadrunner.com", "status": "failed", "verification_txt": "dove_text=bcxzpiujnlewp-23849jdkfjzxcfpiawer", "verification_host": "_ss-verification.org_nW1UHutvkVWSWdCG.acme.com" } ] }
Lists all domains pending and verified for an organization.
The access token received from the authorization server in the OAuth 2.0 flow.
List domains for an organization.
Afficher attributs enfants
Pagination cursor for the next page of results
Cette page vous a-t-elle été utile ?