delete https://{tenanturl}/v2.0/Me
Entitlement required: anyone (Any authenticated user).
By default, an email is sent to the user that the account was deleted. 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.
This API requires an authenticated user's access token that is generated from an application client during sign-on. This API does not support the use of an API client-generated access token.
Send a valid user access token in the authorization header, by using the bearer authentication scheme.