comAtprotoAdminDisableInviteCodes function
Disable some set of codes and/or all codes associated with a set of users.
Implementation
Future<XRPCResponse<EmptyData>> comAtprotoAdminDisableInviteCodes({
List<String>? codes,
List<String>? accounts,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.comAtprotoAdminDisableInviteCodes,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
if (codes != null) 'codes': codes,
if (accounts != null) 'accounts': accounts,
},
);