Search + K

Command Palette

Search for a command to run...

Sign In

Submit the Abuse Report of a particular type

POST /accounts/{account_id}/abuse-reports/{report_type}
Copy endpoint
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

The abuse report type.

type AbuseReportsReportType = string
; }
;
result: string;
}

Client Errors

400 application/json

Report submitted with an error

interface AbuseReportsSubmitErrorResponse {
error_code: AbuseReportsErrorCode
type AbuseReportsErrorCode = AbuseReportsBadActError & string | AbuseReportsBadAddressError & string | AbuseReportsBadAgentNameError & string | AbuseReportsBadCityError & string | AbuseReportsBadCountryError & string | AbuseReportsBadPortsProtocolError & string | AbuseReportsBadStateError & string | AbuseReportsMaxIPsError & string | AbuseReportsPortsProtocolError & string | AbuseReportsBadCommentsError & string | AbuseReportsBadEmailError & string | AbuseReportsBadIPError & string | AbuseReportsBadJustError & string | AbuseReportsBadNameError & string | AbuseReportsBadUrlsError & string | AbuseReportsDBError & string | AbuseReportsDedupeError & string | AbuseReportsDiffEmailError & string | AbuseReportsEmailError & string | AbuseReportsInternalError & string | AbuseReportsInvalidNotifyError & string | AbuseReportsMustNotifyError & string | AbuseReportsNoAgreeError & string | AbuseReportsNoOriginalWorkError & string | AbuseReportsNoSigError & string | AbuseReportsUnexpectedActError & string | AbuseReportsUnknownError & string | AbuseReportsUrlNotOrangeError & string | AbuseReportsUrlNotvalidError & string
;
msg: string;
request: { act: AbuseReportsReportType

The abuse report type.

type AbuseReportsReportType = string
; }
;
result: string;
}

Server Errors

500 application/json

Report submitted with an error

interface AbuseReportsSubmitErrorResponse {
error_code: AbuseReportsErrorCode
type AbuseReportsErrorCode = AbuseReportsBadActError & string | AbuseReportsBadAddressError & string | AbuseReportsBadAgentNameError & string | AbuseReportsBadCityError & string | AbuseReportsBadCountryError & string | AbuseReportsBadPortsProtocolError & string | AbuseReportsBadStateError & string | AbuseReportsMaxIPsError & string | AbuseReportsPortsProtocolError & string | AbuseReportsBadCommentsError & string | AbuseReportsBadEmailError & string | AbuseReportsBadIPError & string | AbuseReportsBadJustError & string | AbuseReportsBadNameError & string | AbuseReportsBadUrlsError & string | AbuseReportsDBError & string | AbuseReportsDedupeError & string | AbuseReportsDiffEmailError & string | AbuseReportsEmailError & string | AbuseReportsInternalError & string | AbuseReportsInvalidNotifyError & string | AbuseReportsMustNotifyError & string | AbuseReportsNoAgreeError & string | AbuseReportsNoOriginalWorkError & string | AbuseReportsNoSigError & string | AbuseReportsUnexpectedActError & string | AbuseReportsUnknownError & string | AbuseReportsUrlNotOrangeError & string | AbuseReportsUrlNotvalidError & string
;
msg: string;
request: { act: AbuseReportsReportType

The abuse report type.

type AbuseReportsReportType = string
; }
;
result: string;
}