CloseReportsRequest

constructor(subject: Uri, includeAllOwned: Boolean? = false, reportTypes: List<String>? = null, excludedReportTypes: List<String>? = null, actionEventId: Long? = null, internalNote: String? = null, isAutomated: Boolean? = false, meta: JsonContent? = null)

Parameters

subject

Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.

includeAllOwned

If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID.

actionEventId

Optional existing moderation event that closes reports. It must target the exact subject or its owning account; account-wide closure requires an account event. The event is linked to each closed report and may predate the report. The link does not imply the action is still in effect.

internalNote

Optional moderator-only note recorded on each close activity. Not visible to reporters.

isAutomated

Set true when this action is triggered by an automated process. Defaults to false.

meta

Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.