Updates a tag (SoT)
Updates a Source-of-Truth tag by UUID.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYAccepted Permissions (at least one required)
Cloudforce One WriteBody ParametersJSONExpand Collapse
aliases: optional array of object { value, confidence, tlp } Structured aliases ({ value, confidence 1-10, tlp }). Public: returned to all accounts with per-entry TLP filtering (entries with tlp: purple are removed for non-CFONE accounts).
Structured aliases ({ value, confidence 1-10, tlp }). Public: returned to all accounts with per-entry TLP filtering (entries with tlp: purple are removed for non-CFONE accounts).
Tag type (category) UUID. When changed, existing properties are re-validated against the new category’s schema (400 on mismatch). Set to null to unlink (typeless; properties stop being validated).
Overall tag confidence (1-10). Omit to preserve existing.
externalReferences: optional array of object { url, description } Structured external references ({ url, description }). Public: returned to all accounts.
Structured external references ({ url, description }). Public: returned to all accounts.
internalAliases: optional array of object { value, confidence, tlp } Internal structured aliases ({ value, confidence 1-10, tlp }). CFONE-only: never returned to non-CFONE accounts.
Internal structured aliases ({ value, confidence 1-10, tlp }). CFONE-only: never returned to non-CFONE accounts.
Custom field values blob. When omitted, the existing value is preserved. When provided, performs a shallow per-key merge over the stored value (unmentioned keys are retained). Setting an individual key to null deletes that key. Validation runs against the merged result, so a partial update may omit a schema-required key if the stored value supplies it.
ReturnsExpand Collapse
aliases: optional array of object { value, confidence, tlp } Structured aliases ({ value, confidence 1-10, tlp }). Public: returned to all accounts with per-entry TLP filtering (entries with tlp: purple are removed for non-CFONE accounts).
Structured aliases ({ value, confidence 1-10, tlp }). Public: returned to all accounts with per-entry TLP filtering (entries with tlp: purple are removed for non-CFONE accounts).
externalReferences: optional array of object { url, description } Structured external references ({ url, description }). Public: returned to all accounts.
Structured external references ({ url, description }). Public: returned to all accounts.
internalAliases: optional array of object { value, confidence, tlp } Internal structured aliases ({ value, confidence 1-10, tlp }). CFONE-only: never returned to non-CFONE accounts.
Internal structured aliases ({ value, confidence 1-10, tlp }). CFONE-only: never returned to non-CFONE accounts.
ISO country code (alpha-2 or alpha-3). Normalized to uppercase on read. Null when stored value is blank/whitespace.
Parsed custom field values. Null when the tag has no custom fields.
Updates a tag (SoT)
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/cloudforce-one/events/tags/$TAG_UUID \
-X PATCH \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"uuid": "12345678-1234-1234-1234-1234567890ab",
"value": "APT28",
"activeDuration": "activeDuration",
"activeDuration_annotated": {
"value": "value",
"tlp": "red"
},
"actorCategory": "actorCategory",
"actorCategory_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"aliases": [
{
"value": "Fancy Bear",
"confidence": 8,
"tlp": "amber"
}
],
"aliasGroupNames": [
"string"
],
"aliasGroupNamesInternal": [
"string"
],
"attributionOrganization": "attributionOrganization",
"attributionOrganization_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"categoryName": "Actor",
"categoryUuid": "12345678-1234-1234-1234-1234567890ab",
"confidence": 8,
"createdAt": "createdAt",
"dateOfDiscovery": "2024-01-15T00:00:00Z",
"description": "description",
"externalReferenceLinks": [
"string"
],
"externalReferences": [
{
"url": "https://example.com/report",
"description": "Vendor threat report"
}
],
"externalReferences_annotated": [
{
"value": "value",
"tlp": "red"
}
],
"internalAliases": [
{
"value": "Fancy Bear",
"confidence": 8,
"tlp": "amber"
}
],
"internalDescription": "internalDescription",
"lastSeen": "lastSeen",
"motive": "motive",
"motive_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"opsecLevel": "opsecLevel",
"opsecLevel_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"originCountryISO": "originCountryISO",
"originCountryISO_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"priority": 0,
"priority_annotated": {
"value": 0,
"tlp": "red"
},
"properties": {
"foo": "bar"
},
"sophisticationLevel": "sophisticationLevel",
"sophisticationLevel_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"tlp": "amber",
"updatedAt": "updatedAt",
"version": 0
}Returns Examples
{
"uuid": "12345678-1234-1234-1234-1234567890ab",
"value": "APT28",
"activeDuration": "activeDuration",
"activeDuration_annotated": {
"value": "value",
"tlp": "red"
},
"actorCategory": "actorCategory",
"actorCategory_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"aliases": [
{
"value": "Fancy Bear",
"confidence": 8,
"tlp": "amber"
}
],
"aliasGroupNames": [
"string"
],
"aliasGroupNamesInternal": [
"string"
],
"attributionOrganization": "attributionOrganization",
"attributionOrganization_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"categoryName": "Actor",
"categoryUuid": "12345678-1234-1234-1234-1234567890ab",
"confidence": 8,
"createdAt": "createdAt",
"dateOfDiscovery": "2024-01-15T00:00:00Z",
"description": "description",
"externalReferenceLinks": [
"string"
],
"externalReferences": [
{
"url": "https://example.com/report",
"description": "Vendor threat report"
}
],
"externalReferences_annotated": [
{
"value": "value",
"tlp": "red"
}
],
"internalAliases": [
{
"value": "Fancy Bear",
"confidence": 8,
"tlp": "amber"
}
],
"internalDescription": "internalDescription",
"lastSeen": "lastSeen",
"motive": "motive",
"motive_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"opsecLevel": "opsecLevel",
"opsecLevel_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"originCountryISO": "originCountryISO",
"originCountryISO_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"priority": 0,
"priority_annotated": {
"value": 0,
"tlp": "red"
},
"properties": {
"foo": "bar"
},
"sophisticationLevel": "sophisticationLevel",
"sophisticationLevel_annotated": {
"value": "value",
"confidence": 0,
"tlp": "red"
},
"tlp": "amber",
"updatedAt": "updatedAt",
"version": 0
}