## Delete `client.Projects.Branches.Delete(ctx, branch, body) (*ProjectBranchDeleteResponse, error)` **delete** `/v0/projects/{project}/branches/{branch}` Delete a project branch by name. ### Parameters - `branch string` - `body ProjectBranchDeleteParams` - `Project param.Field[string]` ### Returns - `type ProjectBranchDeleteResponse interface{…}` ### Example ```go package main import ( "context" "fmt" "github.com/stainless-api/stainless-api-go" "github.com/stainless-api/stainless-api-go/option" ) func main() { client := stainless.NewClient( option.WithAPIKey("My API Key"), ) branch, err := client.Projects.Branches.Delete( context.TODO(), "branch", stainless.ProjectBranchDeleteParams{ Project: stainless.String("project"), }, ) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", branch) } ```