toolsOzoneModerationCancelScheduledActions function
Cancel all pending scheduled moderation actions for specified subjects
Implementation
Future<XRPCResponse<CancellationResults>>
toolsOzoneModerationCancelScheduledActions({
required List<String> subjects,
String? comment,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.toolsOzoneModerationCancelScheduledActions,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'subjects': subjects,
if (comment != null) 'comment': comment,
},
to: const CancellationResultsConverter().fromJson,
);