Create new saved logo queries from image files
brand_protection.logos.create(LogoCreateParams**kwargs) -> LogoCreateResponse
POST/accounts/{account_id}/brand-protection/logos
Return new saved logo queries created from image files
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Create new saved logo queries from image files
import os
from cloudflare import Cloudflare
client = Cloudflare(
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
)
logo = client.brand_protection.logos.create(
account_id="x",
)
print(logo.id){
"id": 0,
"tag": "tag",
"upload_path": "upload_path"
}Returns Examples
{
"id": 0,
"tag": "tag",
"upload_path": "upload_path"
}