メインコンテンツへスキップ
DELETE
/
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.delete("domain_id");
}
main();

承認

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}$

レスポンス

The domain was successfully removed from the organization.