import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
client.cdn.resources.prevalidate_ssl_le_certificate(
0,
)
Copy
Ask AI
{}
Let's Encrypt certificates
Pre-validate CDN resource before issuing Let's Encrypt certificate
Check whether a Let’s Encrypt certificate can be issued for the CDN resource.
POST
/
cdn
/
resources
/
{resource_id}
/
ssl
/
le
/
pre-validate
Python
Copy
Ask AI
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
client.cdn.resources.prevalidate_ssl_le_certificate(
0,
)