Skip to content
Start here

Updates a raw event

cloudforce_one.threat_events.raw.edit(strraw_id, RawEditParams**kwargs) -> RawEditResponse
PATCH/accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}

Updates a raw event

Security

API Token

The preferred authorization scheme for interacting with the Cloudflare API. Create a token.

Example:Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Accepted Permissions (at least one required)
Cloudforce One Write
ParametersExpand Collapse
account_id: str

Account ID.

event_id: str

Event UUID.

raw_id: str

Raw Event UUID.

data: Optional[object]
source: Optional[str]
tlp: Optional[str]
ReturnsExpand Collapse
class RawEditResponse:
id: str
data: object

Updates a raw event

import os
from cloudflare import Cloudflare

client = Cloudflare(
    api_token=os.environ.get("CLOUDFLARE_API_TOKEN"),  # This is the default and can be omitted
)
response = client.cloudforce_one.threat_events.raw.edit(
    raw_id="raw_id",
    account_id="account_id",
    event_id="event_id",
)
print(response.id)
{
  "id": "1234",
  "data": {}
}
Returns Examples
{
  "id": "1234",
  "data": {}
}