## Delete Web3 Hostname `client.Web3.Hostnames.Delete(ctx, identifier, body) (*HostnameDeleteResponse, error)` **delete** `/zones/{zone_id}/web3/hostnames/{identifier}` Delete Web3 Hostname ### Parameters - `identifier string` Specify the identifier of the hostname. - `body HostnameDeleteParams` - `ZoneID param.Field[string]` Specify the identifier of the hostname. ### Returns - `type HostnameDeleteResponse struct{…}` - `ID string` Specify the identifier of the hostname. ### Example ```go package main import ( "context" "fmt" "github.com/cloudflare/cloudflare-go" "github.com/cloudflare/cloudflare-go/option" "github.com/cloudflare/cloudflare-go/web3" ) func main() { client := cloudflare.NewClient( option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"), ) hostname, err := client.Web3.Hostnames.Delete( context.TODO(), "023e105f4ecef8ad9ca31a8372d0c353", web3.HostnameDeleteParams{ ZoneID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"), }, ) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", hostname.ID) } ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "result": { "id": "023e105f4ecef8ad9ca31a8372d0c353" }, "success": true } ```