{
"result": {
"ssl": null
},
"success": false,
"errors": [
{
"code": 1469,
"message": "Since no host is 64 characters or fewer, Cloudflare Branding is required. Please check your input and try again."
}
],
"messages": []
}
Code demonstrating the issue
// there is no way to set `"cloudflare_branding": true` here
cloudflare.CustomHostname{
Hostname: hostname,
SSL: &cloudflare.CustomHostnameSSL{
Method: "http",
Type: "dv",
Settings: cloudflare.CustomHostnameSSLSettings{
HTTP2: "on",
MinTLSVersion: "1.2",
TLS13: "on",
},
},
}
Confirmation
cloudflare-go version
v0.110.0
Go environment
Expected output
Create custom hostname successfully.
Actual output
Code demonstrating the issue
Steps to reproduce
Just write the code and you will see.
References
No response