I’m trying to add custom hostnames using the API, but cannot with the “ssl” property. It kind of works when not passing in the “ssl” property (but on the dashboard it shows as “SSL not requested”).
This is my request body:
{
"hostname": "example.com",
"ssl": {
"bundle_method": "ubiquitous",
"method": "txt",
"settings": {
"ciphers": ["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"],
"early_hints": "on",
"http2": "on",
"min_tls_version": "1.2",
"tls_1_3": "on"
},
"wildcard": false
}
}
The error I get: “The SSL attribute is invalid. Please refer to the API documentation, check your input and try again.”
Looking at the documentation I have no clue whats going on (am I just missing something). Also, the “hostname” field is not mentioned at all on the docs…