Admin API / Mutations

closeModerationReports

Resolves or ignores 1 to 100 open reports. A report with no resolution gets NO_ACTION; a report that a ban, a demotion or a delete resolved keeps its resolution. One result per input ID, in input order; a failed report does not stop the others. A repeat gives ModerationReportAlreadyClosedError for the reports that the first call closed. The reports change in one statement; a thrown error after it can leave the reports closed, and a repeat then gives ModerationReportAlreadyClosedError for them. Requires the ADMIN role or higher and a rank above the reported member: the reported user, the listing's seller or the message's author.

Requires a client key with one of these scopes: admin:moderation:writeRequires this member role or higher: ADMIN
closeModerationReports(
  input: CloseModerationReportsInput!
): CloseModerationReportsPayload!

Arguments

ArgumentTypeDescription
inputCloseModerationReportsInput!The reports to close and the decision.

Return type

CloseModerationReportsPayload!