comAtprotoAdminEnableAccountInvites function
Re-enable an account's ability to receive invite codes.
Implementation
Future<XRPCResponse<EmptyData>> comAtprotoAdminEnableAccountInvites({
required String account,
String? note,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.comAtprotoAdminEnableAccountInvites,
headers: {'Content-type': 'application/json', ...?$headers},
body: {...?$unknown, 'account': account, if (note != null) 'note': note},
);