---
title: Request review on mitigations
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[Abuse Reports](https://developers.cloudflare.com/api/python/resources/abuse_reports)

[Mitigations](https://developers.cloudflare.com/api/python/resources/abuse_reports/subresources/mitigations)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Request review on mitigations

abuse\_reports.mitigations.review(strreport\_id, MitigationReviewParams\*\*kwargs) -> SyncSinglePage\[[MitigationReviewResponse](<https://developers.cloudflare.com/api/python/resources/abuse_reports#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)>)]

POST/accounts/{account\_id}/abuse-reports/{report\_id}/mitigations/appeal

Request a review of mitigations applied because of an abuse report, or submit a report-level appeal.

- To request a review of specific mitigations, send `appeals` with the mitigation IDs and reasons. Repeating a request for a mitigation with an unresolved appeal is idempotent and returns that mitigation in the in-review state.
- To submit a report-level appeal, send `type` and, for a `counter_notice`, the counter-notice details in `data`. Report-level appeals are currently available only for DMCA (copyright) reports.

##### Security

API Token

The preferred authorization scheme for interacting with the Cloudflare API. [Create a token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/).

**Example:**`Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY`

##### Accepted Permissions (at least one required)

`Trust and Safety Write`

##### ParametersExpand Collapse

account\_id: str

maxLength32

[Link to this property](<#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20account_id%20%3E%20(schema)>)

report\_id: str

[Link to this property](<#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20report_id%20%3E%20(schema)>)

<details>

<summary>

appeals: Optional\[Iterable\[Appeal]]

List of mitigations to appeal.

</summary>

id: str

ID of the mitigation to appeal.

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20appeals%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

reason: Literal\["removed", "misclassified"]

Reason why the customer is appealing.

</summary>

One of the following:

"removed"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20appeals%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%200">Link to this property</a>

"misclassified"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20appeals%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20appeals%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20reason">Link to this property</a>

</details>

[Link to this property](<#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20appeals%20%3E%20(schema)>)

<details>

<summary>

data: Optional\[<a href="https://developers.cloudflare.com/api/python/resources/abuse_reports/subresources/mitigations/methods/review#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)">Data</a>]

Counter-notice details supporting an appeal.

</summary>

city: str

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20city">Link to this property</a>

country: str

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20country">Link to this property</a>

email: str

formatemail

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20email">Link to this property</a>

full\_name: str

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20full_name">Link to this property</a>

jurisdiction\_consent: bool

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20jurisdiction_consent">Link to this property</a>

perjury\_attestation: bool

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20perjury_attestation">Link to this property</a>

phone\_number: str

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20phone_number">Link to this property</a>

signature: str

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20signature">Link to this property</a>

state: str

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

street\_address: str

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20street_address">Link to this property</a>

urls: Sequence\[str]

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20urls">Link to this property</a>

zip\_code: str

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20zip_code">Link to this property</a>

company: Optional\[str]

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20company">Link to this property</a>

counter\_notice\_response: Optional\[str]

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)%20%3E%20(property)%20counter_notice_response">Link to this property</a>

</details>

[Link to this property](<#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20data%20%3E%20(schema)>)

<details>

<summary>

type: Optional\[Literal\["counter\_notice", "content\_removed"]]

The type of appeal being submitted.

</summary>

One of the following:

"counter\_notice"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20type%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"content\_removed"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20type%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20abuse_reports.mitigations%20%3E%20(method)%20review%20%3E%20(params)%20default%20%3E%20(param)%20type%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

class MitigationReviewResponse: …

</summary>

id: str

ID of remediation.

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

effective\_date: str

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

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20effective_date">Link to this property</a>

entity\_id: str

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20entity_id">Link to this property</a>

<details>

<summary>

entity\_type: Literal\["url\_pattern", "account", "zone", "custom\_expression"]

The type of entity targeted by a mitigation.

</summary>

One of the following:

"url\_pattern"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20entity_type%20%3E%20(member)%200">Link to this property</a>

"account"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20entity_type%20%3E%20(member)%201">Link to this property</a>

"zone"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20entity_type%20%3E%20(member)%202">Link to this property</a>

"custom\_expression"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20entity_type%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20entity_type">Link to this property</a>

<details>

<summary>

status: Literal\["pending", "active", "in\_review", 2 more]

The status of a mitigation

</summary>

One of the following:

"pending"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"active"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"in\_review"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"cancelled"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"removed"

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

type: str

The type of mitigation applied to a reported entity.

<a href="#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20abuse_reports.mitigations%20%3E%20(model)%20mitigation_review_response%20%3E%20(schema)>)

### Request review on mitigations

Python

HTTPTypeScriptPythonGoTerraform

```
import os
from cloudflare import Cloudflare

client = Cloudflare(
    api_token=os.environ.get("CLOUDFLARE_API_TOKEN"),  # This is the default and can be omitted
)
page = client.abuse_reports.mitigations.review(
    report_id="report_id",
    account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
page = page.result[0]
print(page.id)
```

200 example

```
{
  "result_info": {
    "count": 0,
    "page": 0,
    "per_page": 0,
    "total_count": 0,
    "total_pages": 0
  },
  "success": true,
  "errors": [
    {
      "message": "message"
    }
  ],
  "messages": [
    {
      "message": "message"
    }
  ],
  "result": [
    {
      "id": "id",
      "effective_date": "2009-11-10T23:00:00Z",
      "entity_id": "entity_id",
      "entity_type": "url_pattern",
      "status": "pending",
      "type": "type"
    }
  ]
}
```

##### Returns Examples

200 example

```
{
  "result_info": {
    "count": 0,
    "page": 0,
    "per_page": 0,
    "total_count": 0,
    "total_pages": 0
  },
  "success": true,
  "errors": [
    {
      "message": "message"
    }
  ],
  "messages": [
    {
      "message": "message"
    }
  ],
  "result": [
    {
      "id": "id",
      "effective_date": "2009-11-10T23:00:00Z",
      "entity_id": "entity_id",
      "entity_type": "url_pattern",
      "status": "pending",
      "type": "type"
    }
  ]
}
```