Skip to content
Start here

Mitigations

List abuse report mitigations
client.abuseReports.mitigations.list(stringreportId, MitigationListParams { account_id, effective_after, effective_before, 6 more } params, RequestOptionsoptions?): V4PagePagination<MitigationListResponse { mitigations } >
GET/accounts/{account_id}/abuse-reports/{report_id}/mitigations
Request review on mitigations
client.abuseReports.mitigations.review(stringreportId, MitigationReviewParams { account_id, appeals } params, RequestOptionsoptions?): SinglePage<MitigationReviewResponse { id, effective_date, entity_id, 3 more } >
POST/accounts/{account_id}/abuse-reports/{report_id}/mitigations/appeal
ModelsExpand Collapse
MitigationListResponse { mitigations }
mitigations: Array<Mitigation>
id: string

ID of remediation.

effective_date: string

Date when the mitigation will become active. Time in RFC 3339 format (https://www.rfc-editor.org/rfc/rfc3339.html)

entity_id: string
entity_type: "url_pattern" | "account" | "zone"

The type of entity targeted by a mitigation.

One of the following:
"url_pattern"
"account"
"zone"
status: "pending" | "active" | "in_review" | 2 more

The status of a mitigation

One of the following:
"pending"
"active"
"in_review"
"cancelled"
"removed"
type: "account_suspend" | "copyright_interstitial" | "geo_block" | 16 more

The type of mitigation applied to a reported entity.

One of the following:
"account_suspend"
"copyright_interstitial"
"geo_block"
"legal_block"
"malware_interstitial"
"misleading_interstitial"
"network_block"
"phishing_interstitial"
"playfairite_enforce"
"r2_takedown_account"
"r2_takedown_bucket"
"r2_takedown_object"
"rate_limit_cache"
"redirect_video_stream"
"registrar_freeze"
"registrar_parking"
"stream_block_account"
"user_suspend"
"workers_takedown_by_zone_id"
MitigationReviewResponse { id, effective_date, entity_id, 3 more }
id: string

ID of remediation.

effective_date: string

Date when the mitigation will become active. Time in RFC 3339 format (https://www.rfc-editor.org/rfc/rfc3339.html)

entity_id: string
entity_type: "url_pattern" | "account" | "zone"

The type of entity targeted by a mitigation.

One of the following:
"url_pattern"
"account"
"zone"
status: "pending" | "active" | "in_review" | 2 more

The status of a mitigation

One of the following:
"pending"
"active"
"in_review"
"cancelled"
"removed"
type: "account_suspend" | "copyright_interstitial" | "geo_block" | 16 more

The type of mitigation applied to a reported entity.

One of the following:
"account_suspend"
"copyright_interstitial"
"geo_block"
"legal_block"
"malware_interstitial"
"misleading_interstitial"
"network_block"
"phishing_interstitial"
"playfairite_enforce"
"r2_takedown_account"
"r2_takedown_bucket"
"r2_takedown_object"
"rate_limit_cache"
"redirect_video_stream"
"registrar_freeze"
"registrar_parking"
"stream_block_account"
"user_suspend"
"workers_takedown_by_zone_id"