using Auth0.ManagementApi;using System.Threading.Tasks;public partial class Examples{ public async Task Example() { var client = new ManagementClient( token: "<token>" ); await client.Users.DeleteAsync( "id" ); }}
Delete a user by user ID. This action cannot be undone. For Auth0 Dashboard instructions, see Delete Users.
DELETE
https://{tenantDomain}/api/v2
/
users
/
{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.Users.DeleteAsync( "id" ); }}