To show information about an existing certificate, send a GET request to /v2/certificates/$CERTIFICATE_ID
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
certificate_id |
string | True | A unique identifier for a certificate. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
get_resp = client.certificates.get(
certificate_id="892071a0-bb95-49bc-8021-3afd67a210bf"
)
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.