comAtprotoAdminDisableAccountInvites function
Disable an account from receiving new invite codes, but does not invalidate existing codes.
Implementation
Future<XRPCResponse<EmptyData>> comAtprotoAdminDisableAccountInvites({
required String account,
String? note,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.comAtprotoAdminDisableAccountInvites,
headers: {'Content-type': 'application/json', ...?$headers},
body: {...?$unknown, 'account': account, if (note != null) 'note': note},
);