comAtprotoServerDeleteAccount function

Future<XRPCResponse<EmptyData>> comAtprotoServerDeleteAccount({
  1. required String did,
  2. required String password,
  3. required String token,
  4. required ServiceContext $ctx,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth.

Implementation

Future<XRPCResponse<EmptyData>> comAtprotoServerDeleteAccount({
  required String did,
  required String password,
  required String token,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.comAtprotoServerDeleteAccount,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'did': did, 'password': password, 'token': token},
);