deleteAccount method
Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth.
https://atprotodart.com/docs/lexicons/com/atproto/server/deleteAccount
Implementation
Future<XRPCResponse<EmptyData>> deleteAccount({
required String did,
required String password,
required String token,
Map<String, String>? $unknown,
Map<String, String>? $headers,
PostClient? $client,
}) async =>
await _ctx.post<EmptyData>(
ns.comAtprotoServerDeleteAccount,
headers: $headers,
body: {
'did': did,
'password': password,
'token': token,
...?$unknown,
},
client: $client,
);