Skip to main content

brand_protection_logos

Creates, updates, deletes, gets or lists a brand_protection_logos resource.

Overview

Namebrand_protection_logos
TypeResource
Idcloudflare.brand_protection.brand_protection_logos

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
createinsertaccount_idtag, match_type, thresholdReturn new saved logo queries created from image files
delete_by_accountdeleteaccount_id, logo_idReturn a success message after deleting saved logo queries by ID

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
logo_idstring
match_typestring
tagstring
thresholdnumber

INSERT examples

Return new saved logo queries created from image files

INSERT INTO cloudflare.brand_protection.brand_protection_logos (
image,
account_id,
tag,
match_type,
threshold
)
SELECT
'{{ image }}',
'{{ account_id }}',
'{{ tag }}',
'{{ match_type }}',
'{{ threshold }}'
RETURNING
id,
tag,
upload_path
;

DELETE examples

Return a success message after deleting saved logo queries by ID

DELETE FROM cloudflare.brand_protection.brand_protection_logos
WHERE account_id = '{{ account_id }}' --required
AND logo_id = '{{ logo_id }}' --required
;