## Submit an abuse report `abuse_reports.create(strreport_param, AbuseReportCreateParams**kwargs) -> AbuseReportCreateResponse` **post** `/accounts/{account_id}/abuse-reports/{report_param}` Submit the Abuse Report of a particular type ### Parameters - `account_id: str` - `report_param: str` The report type for submitted reports. - `act: Literal["abuse_dmca"]` The report type for submitted reports. - `"abuse_dmca"` - `address1: str` Text not exceeding 100 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `agent_name: str` The name of the copyright holder. Text not exceeding 60 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `agree: Literal[1]` Can be `0` for false or `1` for true. Must be value: 1 for DMCA reports - `1` - `city: str` Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `country: str` Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `email: str` A valid email of the abuse reporter. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `email2: str` Should match the value provided in `email` - `host_notification: Literal["send"]` Notification type based on the abuse type. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous. - `"send"` - `name: str` Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `original_work: str` Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `owner_notification: Literal["send"]` Notification type based on the abuse type. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous. - `"send"` - `signature: str` Required for DMCA reports, should be same as Name. An affirmation that all information in the report is true and accurate while agreeing to the policies of Cloudflare's abuse reports - `state: str` Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `urls: str` A list of valid URLs separated by ā€˜\n’ (new line character). The list of the URLs should not exceed 250 URLs. All URLs should have the same hostname. Each URL should be unique. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `comments: Optional[str]` Any additional comments about the infringement not exceeding 2000 characters - `company: Optional[str]` Text not exceeding 100 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `reported_country: Optional[str]` Text containing 2 characters - `reported_user_agent: Optional[str]` Text not exceeding 255 characters - `tele: Optional[str]` Text not exceeding 20 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/). - `title: Optional[str]` Text not exceeding 255 characters ### Returns - `str` The result should be 'success' for successful response ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) abuse_report = client.abuse_reports.create( report_param="report_param", account_id="023e105f4ecef8ad9ca31a8372d0c353", act="abuse_dmca", address1="x", agent_name="x", agree=1, city="x", country="x", email="email", email2="email2", host_notification="send", name="x", original_work="x", owner_notification="send", signature="signature", state="x", urls="urls", ) print(abuse_report) ``` #### Response ```json { "abuse_rand": "abuse_rand", "request": { "act": "act" }, "result": "result" } ```