comAtprotoServerActivateAccount function

Future<XRPCResponse<EmptyData>> comAtprotoServerActivateAccount({
  1. required ServiceContext $ctx,
  2. 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,
  Map<String, String>? $headers,
}) async => await $ctx.post(
  ns.comAtprotoServerActivateAccount,
  headers: {...?$headers},
);