toolsOzoneVerificationGrantVerifications function
Future<XRPCResponse<VerificationGrantVerificationsOutput> >
toolsOzoneVerificationGrantVerifications({
- required List<
VerificationInput> verifications, - required ServiceContext $ctx,
- Map<
String, String> ? $headers, - Map<
String, String> ? $unknown,
Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.
Implementation
Future<XRPCResponse<VerificationGrantVerificationsOutput>>
toolsOzoneVerificationGrantVerifications({
required List<VerificationInput> verifications,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.toolsOzoneVerificationGrantVerifications,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'verifications': verifications.map((e) => e.toJson()).toList(),
},
to: const VerificationGrantVerificationsOutputConverter().fromJson,
);