Request review on mitigations
abuse_reports.mitigations.review(strreport_id, MitigationReviewParams**kwargs) -> SyncSinglePage[MitigationReviewResponse]
POST/accounts/{account_id}/abuse-reports/{report_id}/mitigations/appeal
Request a review for mitigations on an account.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Request review on mitigations
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",
appeals=[{
"id": "id",
"reason": "misclassified",
}],
)
page = page.result[0]
print(page.id){
"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": "legal_block"
}
]
}Returns Examples
{
"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": "legal_block"
}
]
}