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

async function main() {
    const client = new MyOrganizationClient({
        token: "<token>",
    });
    await client.organization.identityProviders.domains.delete("idp_id", "domain");
}
main();

Release Lifecycle

Beta

Scopes

Scopes define permissions and access levels for API requests and authentication tokens.
delete:my_org:identity_providers_domains

承認

Authorization
string
header
必須

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

パスパラメータ

idp_id
string
必須

Identity provider identifier.

Pattern: ^con_[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])$

レスポンス

The domain was successfully removed from the identity provider.