Skip to main content
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"
        );
    }

}

Authorizations

Authorization
string
header
required

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

Path Parameters

domain_id
string
required

Organization domain identifier.

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

Response

The domain was successfully removed from the organization.