Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/src/services/account.ts>Account#delete

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Account.prototype.delete
import { Account } from "https://deno.land/x/appwrite@0.4.0/src/services/account.ts";

Delete Account

Delete a currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. This is done to avoid deleted accounts being overtaken by new users with the same email address. Any user-related resources like documents or storage files should be deleted separately.

Type Parameters

T extends unknown

Returns

Promise<T>