package main
import (
"fmt"
"io"
"net/http"
)
func main() {
url := "https://api.butterix.com/v1/sites/acme-payments/editor/branches/draft%2F3k9d2a1b-mf2x8k"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}