using Auth0.ManagementApi;using System.Threading.Tasks;public partial class Examples{ public async Task Example() { var client = new ManagementClient( token: "<token>" ); await client.CustomDomains.DeleteAsync( "id" ); }}
Delete a custom domain and stop serving requests for it.
DELETE
https://{tenantDomain}/api/v2
/
custom-domains
/
{id}
C#
using Auth0.ManagementApi;using System.Threading.Tasks;public partial class Examples{ public async Task Example() { var client = new ManagementClient( token: "<token>" ); await client.CustomDomains.DeleteAsync( "id" ); }}