delete https://{tenanturl}/v2.0/Users/
Entitlement required: manageUserGroups (Manage users and groups), or manageAllUserGroups (Synchronize users and groups), or manageUserStandardGroups (Manage users and standard groups).
Note: You only need one entitlement, but you can have more than one.
By default, an email is sent to regular users that the account was deleted. Federated users do not get an email notification. The email template for branding is at "notifications/user_management/profile/{locale}/account_deleted_email.xml". Pass in the themeId query parameter to brand the email template for notifications.
To turn off email notifications, send notifyType=NONE as a query parameter.