comAtprotoServerActivateAccount function

Future<XRPCResponse<EmptyData>> comAtprotoServerActivateAccount({
  1. required ServiceContext $ctx,
  2. String? $service,
  3. Map<String, String>? $headers,
})

Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup.

Implementation

Future<XRPCResponse<EmptyData>> comAtprotoServerActivateAccount({
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
}) async => await $ctx.post(
  ns.comAtprotoServerActivateAccount,
  service: $service,
  headers: {...?$headers},
);