Passer au contenu principal
DELETE
/
domains
/
{domain_id}
C#
using Auth0Auth0;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new Auth0Auth0Client(
            token: "<token>"
        );

        await client.Organization.Domains.DeleteAsync(
            "domain_id"
        );
    }

}

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

domain_id
string
requis

Organization domain identifier.

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

Réponse

The domain was successfully removed from the organization.