---
title: Delete saved logo queries by ID
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[Brand Protection](https://developers.cloudflare.com/api/go/resources/brand_protection)

[Logos](https://developers.cloudflare.com/api/go/resources/brand_protection/subresources/logos)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Delete saved logo queries by ID

client.BrandProtection.Logos.Delete(ctx, logoID, body) error

DELETE/accounts/{account\_id}/brand-protection/logos/{logo\_id}

Return a success message after deleting saved logo queries by ID

##### Security

API Token

The preferred authorization scheme for interacting with the Cloudflare API. [Create a token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/).

**Example:**`Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY`

##### Accepted Permissions (at least one required)

`Intel Write`

##### ParametersExpand Collapse

logoID string

minLength1

[Link to this property](<#(resource)%20brand_protection.logos%20%3E%20(method)%20delete%20%3E%20(params)%20default%20%3E%20(param)%20logo_id%20%3E%20(schema)>)

<details>

<summary>

body LogoDeleteParams

</summary>

AccountID param.Field\[string]

minLength1

<a href="#(resource)%20brand_protection.logos%20%3E%20(method)%20delete%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.logos%20%3E%20(method)%20delete%20%3E%20(params)%20default>)

### Delete saved logo queries by ID

Go

HTTPTypeScriptPythonGoTerraform

```
package main

import (
  "context"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/brand_protection"
  "github.com/cloudflare/cloudflare-go/option"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  err := client.BrandProtection.Logos.Delete(
    context.TODO(),
    "x",
    brand_protection.LogoDeleteParams{
      AccountID: cloudflare.F("x"),
    },
  )
  if err != nil {
    panic(err.Error())
  }
}
```

##### Returns Examples