Submit the Abuse Report of a particular type
POST
/accounts/{account_id}/abuse-reports/{report_type} https://api.cloudflare.com/client/v4
Parameters
path Path Parameters
| Name | Type |
|---|---|
account_id
required
The account ID of the submitter. | string |
report_type
required
The report type to be submitted. Example: abuse_general | type AbuseReportsReportType = string |
Request Body
application/json
required
type AbuseReportsSubmitReportRequest = type AbuseReportsDMCAReport = never | type AbuseReportsTrademarkReport = never | type AbuseReportsGeneralReport = never | type AbuseReportsPhishingReport = never | type AbuseReportsCSAMReport = never | type AbuseReportsThreatReport = never | type AbuseReportsRegistrarWhoisReport = never | type AbuseReportsNCSEIReport = never
Responses
200 application/json
Report submitted successfully
interface AbuseReportsSubmitReportResponse {
abuse_rand: string;
request: { act:AbuseReportsReportType ; };
result: string;
}
abuse_rand: string;
request: { act:
result: string;
}
Client Errors
400 application/json
Report submitted with an error
interface AbuseReportsSubmitErrorResponse {
error_code:AbuseReportsErrorCode ;
msg: string;
request: { act:AbuseReportsReportType ; };
result: string;
}
error_code:
msg: string;
request: { act:
result: string;
}
Server Errors
500 application/json
Report submitted with an error
interface AbuseReportsSubmitErrorResponse {
error_code:AbuseReportsErrorCode ;
msg: string;
request: { act:AbuseReportsReportType ; };
result: string;
}
error_code:
msg: string;
request: { act:
result: string;
}