toolsOzoneVerificationRevokeVerifications function
Future<XRPCResponse<VerificationRevokeVerificationsOutput> >
toolsOzoneVerificationRevokeVerifications({})
Revoke previously granted verifications in batches of up to 100.
Implementation
Future<XRPCResponse<VerificationRevokeVerificationsOutput>>
toolsOzoneVerificationRevokeVerifications({
required List<AtUri> uris,
String? revokeReason,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.toolsOzoneVerificationRevokeVerifications,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'uris': uris.map((e) => e.toString()).toList(),
if (revokeReason != null) 'revokeReason': revokeReason,
},
to: const VerificationRevokeVerificationsOutputConverter().fromJson,
);