## Delete saved string queries by ID `client.BrandProtection.Queries.Delete(ctx, params) error` **delete** `/accounts/{account_id}/brand-protection/queries` Return a success message after deleting saved string queries by ID ### Parameters - `params QueryDeleteParams` - `AccountID param.Field[string]` Path param - `ID param.Field[string]` Query param - `Scan param.Field[bool]` Query param - `Tag param.Field[string]` Query param ### Example ```go 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.Queries.Delete(context.TODO(), brand_protection.QueryDeleteParams{ AccountID: cloudflare.F("x"), }) if err != nil { panic(err.Error()) } } ```